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

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 10:50:44 PST 2016


tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.


================
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
----------------
Could that be changed for a positive check at the location where you *do* want to see that addrspacecast?



https://reviews.llvm.org/D26923





More information about the llvm-commits mailing list