[PATCH] D74484: [AggressiveInstCombine] Add support for ICmp instr that feeds a select intsr's condition operand.

Ayman Musa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 06:04:11 PST 2020


aymanmus created this revision.
aymanmus added reviewers: aaboud, delena, spatel, nikic, lebedev.ri.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Teach Trunc AggressiveInstCombine how to include ICmp instructions in chains that can be type reduced.


https://reviews.llvm.org/D74484

Files:
  llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/trunc_select_cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74484.244151.patch
Type: text/x-patch
Size: 12438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200212/84896615/attachment.bin>


More information about the llvm-commits mailing list