[PATCH] D26921: [AArch64LoadStoreOptimizer] Don't treat write to XZR/WZR as a clobber.

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 10:23:41 PST 2016


junbuml added inline comments.


================
Comment at: test/CodeGen/AArch64/ldst-opt.ll:1559
+
+; Check that write of xzr doesn't inhibit pariing of xzr stores since
+; it isn't actually clobbered.
----------------
typo: pariing 


================
Comment at: test/CodeGen/AArch64/ldst-opt.ll:1561
+; it isn't actually clobbered.
+define i1 @no-clobber-zr(i64* %p, i64 %x) nounwind {
+; CHECK-LABEL: no-clobber-zr
----------------
I cannot see difference with/without this patch in this test. It appears that there is no instruction  between the two stores.  


https://reviews.llvm.org/D26921





More information about the llvm-commits mailing list