[PATCH] D26923: [CodeGenPrepare] Don't sink non-cheap addrspacecasts.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 10:51:42 PST 2016


jlebar added inline comments.


================
Comment at: llvm/test/Transforms/CodeGenPrepare/NVPTX/dont-sink-nop-addrspacecast.ll:14
+  ; CHECK-LABEL: l2:
+  ; CHECK-NOT: addrspacecast
+  %v2 = load i64, i64 addrspace(1)* %ptr_as1
----------------
tra wrote:
> Could that be changed for a positive check at the location where you *do* want to see that addrspacecast?
> 
What problem would this solve?


https://reviews.llvm.org/D26923





More information about the llvm-commits mailing list