[PATCH] D35933: Eliminate TargetTransformInfo::isFoldableMemAccess()
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 9 04:14:39 PDT 2017
jonpa added a comment.
Properly formatted diff:
10,11c10
< loop0(.LBB0_1,#998)
< r2 = #-4000
---
> loop0(.LBB0_1,#999)
15,21c14,15
< r3 = add(r0,r2)
< r4 = add(r2,#4)
< }
< {
< r2 = add(r0,r4)
< r4 = add(r4,#4)
< r3 = memw(r3+#4000)
---
> r3 = add(r1,#4)
> r2 = memw(r0+r1<<#0)
27,30c21,23
< r1 = add(r3,r1)
< r2 = add(r0,r4)
< r4 = add(r4,#4)
< r3 = memw(r2+#4000)
---
> r1 = add(r2,r1)
> r3 = add(r3,#4)
> r2 = memw(r0+r3<<#0)
34,38c27
< r0 = add(r3,r1)
< r2 = memw(r2+#4000)
< }
< {
< r0 = add(r2,r0)
---
> r0 = add(r2,r1)
https://reviews.llvm.org/D35933
More information about the llvm-commits
mailing list