[PATCH] D21496: LoadCombine Load Aliasing Fix

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 18 18:24:51 PDT 2016


eli.friedman added a subscriber: eli.friedman.

================
Comment at: /Users/rriddle/Desktop/llvm/llvm/test/Transforms/LoadCombine/load-combine-alias.ll:12
@@ +11,3 @@
+  %i1 = getelementptr inbounds %struct.Str, %struct.Str* %1, i64 0, i32 0
+  store i32 %0, i32* %i1, align 4
+  %add.ptr = getelementptr inbounds i32, i32* %i, i64 1
----------------
What transform is this testcase checking for?  I don't think you can prove any useful aliasing property between %i, %i1, and %str?


http://reviews.llvm.org/D21496





More information about the llvm-commits mailing list