[PATCH] D153963: [InstCombine] Fold binop of select and cast of select condition

Antonio Frighetto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 05:35:57 PDT 2023


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

TODO added, polished up the code, thanks for pointing that out.


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

https://reviews.llvm.org/D153963

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153963.539038.patch
Type: text/x-patch
Size: 10383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/6059944f/attachment.bin>


More information about the llvm-commits mailing list