[PATCH] D49585: [ARM] Prefer lsls+lsrs over lsls+ands or lsrs+ands in Thumb1.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 02:47:52 PDT 2018


samparker added inline comments.


================
Comment at: test/CodeGen/Thumb/shift-and.ll:97
+
+define i32 @test8(i32 %x) {
+; CHECK-LABEL: test8:
----------------
This is the same as the above test. Also, can't this be combined to (shl (lshr %x, 31), 2)?


Repository:
  rL LLVM

https://reviews.llvm.org/D49585





More information about the llvm-commits mailing list