[PATCH] D156811: [InstCombine] Fold `select` of `srem` and conditional add

Antonio Frighetto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 02:14:57 PDT 2023


antoniofrighetto updated this revision to Diff 547535.
antoniofrighetto added a comment.

Rebased & further commented.


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

https://reviews.llvm.org/D156811

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/select-divrem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156811.547535.patch
Type: text/x-patch
Size: 5356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230806/ce59cac4/attachment.bin>


More information about the llvm-commits mailing list