[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 Apr 9 17:16:02 PDT 2023
goldstein.w.n updated this revision to Diff 512056.
goldstein.w.n added a comment.
Only do rem/div if denominator known non zero
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/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/binop-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146350.512056.patch
Type: text/x-patch
Size: 8179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230410/68947e61/attachment.bin>
More information about the llvm-commits
mailing list