[PATCH] D21740: [InstCombine] extend matchSelectFromAndOr() to work with i1 scalar types
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 26 17:31:48 PDT 2016
spatel created this revision.
spatel added reviewers: majnemer, eli.friedman.
spatel added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.
If the incoming types are i1, then we don't have to pattern match any sext ops.
http://reviews.llvm.org/D21740
Files:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/logical-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21740.61921.patch
Type: text/x-patch
Size: 5409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160627/94195e09/attachment.bin>
More information about the llvm-commits
mailing list