[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
Tue Jun 27 12:20:12 PDT 2023


goldstein.w.n updated this revision to Diff 535096.
goldstein.w.n added a comment.

Use bespoke speculation tracking for div/rem


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.535096.patch
Type: text/x-patch
Size: 15894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230627/90cc53f9/attachment.bin>


More information about the llvm-commits mailing list