search for: d37648

Displaying 6 results from an estimated 6 matches for "d37648".

2017 Sep 26
0
RFC phantom memory intrinsic
...certainly like to understand why. (*) CodeMetrics has a way to collect "ephemeral values" to avoid extra values affecting some of the cost modeling, but they still block optimization. Thanks again, Hal > I updated > https://reviews.llvm.org/D37579 and https://reviews.llvm.org/D37648 > with adding the aggregate pointer as second parameter as Michael > asked. So now, the intrinsic look like this: > > void phantom_mem(any_pointer base, any_pointer aggregate, uint64_t > maximum_offset) > > For PR21780, I don't need to use aggregate so it is set to null, bu...
2017 Sep 26
2
RFC phantom memory intrinsic
...would be legal to widen them? no, I don't have any concerns about intrinsic way of implementation, and intrinsic way looks safer for me since we somehow detach our information about memory from that actual load instruction. I updated https://reviews.llvm.org/D37579 and https://reviews.llvm.org/D37648 with adding the aggregate pointer as second parameter as Michael asked. So now, the intrinsic look like this: void phantom_mem(any_pointer base, any_pointer aggregate, uint64_t maximum_offset) For PR21780, I don't need to use aggregate so it is set to null, but for other similar issues this a...
2017 Sep 12
3
RFC phantom memory intrinsic
...InstCombine deleted the load operation, it could be restored in SLPVectorizer and we could restore chains of GEPs, Loads and Inserts in case we encounter phatom_mem intrinsic. Here is two part review: https://reviews.llvm.org/D37579 - InstCombine part. https://reviews.llvm.org/D37648 - SLP part. Also, there might be different approaches in describing deleted memory operations, for example, for my case: phantom_load(llvm_anyptr_ty, llvm_i64_ty). First parameter describes pointer and second parameter offset from pointer this loaded was deleted, for example. This two operations:...
2017 Sep 13
2
RFC phantom memory intrinsic
...Vectorizer and we could restore chains of GEPs, Loads >>> and Inserts in case we encounter phatom_mem intrinsic. >>> >>> Here is two part review: >>> https://reviews.llvm.org/D37579 - InstCombine part. >>> https://reviews.llvm.org/D37648 - SLP part. >>> >>> Also, there might be different approaches in describing deleted memory >>> operations, for example, for my case: phantom_load(llvm_anyptr_ty, >>> llvm_i64_ty). First parameter describes pointer and second parameter >>> offset from poi...
2017 Sep 26
0
RFC phantom memory intrinsic
...restore chains of GEPs, Loads >>>> and Inserts in case we encounter phatom_mem intrinsic. >>>> >>>> Here is two part review: >>>> https://reviews.llvm.org/D37579 - InstCombine part. >>>> https://reviews.llvm.org/D37648 - SLP part. >>>> >>>> Also, there might be different approaches in describing deleted memory >>>> operations, for example, for my case: phantom_load(llvm_anyptr_ty, >>>> llvm_i64_ty). First parameter describes pointer and second parameter >>>...
2017 Sep 13
2
RFC phantom memory intrinsic
...operation, it could be > restored in SLPVectorizer and we could restore chains of GEPs, Loads > and Inserts in case we encounter phatom_mem intrinsic. > > Here is two part review: > https://reviews.llvm.org/D37579 - InstCombine part. > https://reviews.llvm.org/D37648 - SLP part. > > Also, there might be different approaches in describing deleted memory > operations, for example, for my case: phantom_load(llvm_anyptr_ty, > llvm_i64_ty). First parameter describes pointer and second parameter > offset from pointer this loaded was deleted, for exampl...