[PATCH] D29394: [DAGCombiner] Support non-zero offset in load combine

Boris Ulasevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 00:05:45 PST 2017


boris.ulasevich added inline comments.


================
Comment at: test/CodeGen/AArch64/load-combine-big-endian.ll:203
+
+  %tmp = bitcast i32* %arg to i8*
+  %tmp1 = getelementptr inbounds i8, i8* %tmp, i32 1
----------------
Just a question.. This inefficient implementation should be optimised in spite of non-zero offset. How do we check the optimisation works Ok?


https://reviews.llvm.org/D29394





More information about the llvm-commits mailing list