[PATCH] D59041: [SDAG][X86] Expand pow2 mulo using shifts

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 9 06:42:25 PST 2019


nikic marked an inline comment as done.
nikic added inline comments.


================
Comment at: llvm/test/CodeGen/ARM/umulo-32.ll:41
+; CHECK-NEXT:    subs r2, r1, #1
+; CHECK-NEXT:    sbcs r1, r2
 ; CHECK-NEXT:    movs r4, #0
----------------
We're doing a select of setcc here, both get expanded and the setcc is converted into this construction.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59041/new/

https://reviews.llvm.org/D59041





More information about the llvm-commits mailing list