[PATCH] D29397: [DAGCombiner] Support bswap as a part of load combine patterns
Renato Golin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 08:30:13 PST 2017
rengolin added inline comments.
================
Comment at: test/CodeGen/ARM/load-combine-big-endian.ll:428
+; CHECK: ldr r0, [r0]
+; CHECK-NEXT: mov r1, #65280
+; CHECK-NEXT: mov r2, #16711680
----------------
I'm surprised this doesn't use `REV16`.
================
Comment at: test/CodeGen/ARM/load-combine.ll:386
+; CHECK: ldr r0, [r0]
+; CHECK-NEXT: mov r1, #65280
+; CHECK-NEXT: mov r2, #16711680
----------------
Or here.
https://reviews.llvm.org/D29397
More information about the llvm-commits
mailing list