[PATCH] D34184: [InstCombine] Teach foldSelectICmpAndOr to recognize (select (icmp slt (trunc (X)), 0), Y, (or Y, C2))
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 15:34:28 PDT 2017
craig.topper updated this revision to Diff 103483.
craig.topper added a comment.
Rebase on top of the one use fixes to the existing code.
https://reviews.llvm.org/D34184
Files:
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/select-with-bitwise-ops.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34184.103483.patch
Type: text/x-patch
Size: 4538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170621/d1d9defe/attachment.bin>
More information about the llvm-commits
mailing list