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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 12:59:09 PDT 2019


nikic updated this revision to Diff 190141.
nikic added a comment.

Handle smulo with signed_min like umulo via logical shift.


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

https://reviews.llvm.org/D59041

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/ARM/umulo-32.ll
  llvm/test/CodeGen/X86/mulo-pow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59041.190141.patch
Type: text/x-patch
Size: 8890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190311/163fbcff/attachment.bin>


More information about the llvm-commits mailing list