[PATCH] D150360: [InstCombine] Optimize compares with multiple selects as operands

Tejas Joshi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 03:23:17 PDT 2023


tejas updated this revision to Diff 525523.
tejas added a comment.

Relaxed the condition for one-use selects and refined the tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150360

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-with-selects.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150360.525523.patch
Type: text/x-patch
Size: 8001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230525/62b049b8/attachment.bin>


More information about the llvm-commits mailing list