[PATCH] D146350: [InstCombine] More aggressively try and fold irem/idiv/mul into selects.
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 21 17:30:22 PDT 2023
goldstein.w.n updated this revision to Diff 524141.
goldstein.w.n added a comment.
Move all new logic into `foldBinOpIntoSelectOrPhi`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146350/new/
https://reviews.llvm.org/D146350
Files:
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/binop-select.ll
llvm/test/Transforms/InstCombine/extractelement.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146350.524141.patch
Type: text/x-patch
Size: 13465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/5f48ed3e/attachment.bin>
More information about the llvm-commits
mailing list