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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 14:12:46 PST 2019


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

Ensure the optimization is not applied to signed min.


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/X86/mulo-pow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59041.189934.patch
Type: text/x-patch
Size: 6628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190308/ec59b384/attachment.bin>


More information about the llvm-commits mailing list