[PATCH] D72007: [InstCombine] try to pull 'not' of select into compare operands
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 5 09:17:22 PST 2020
spatel updated this revision to Diff 236252.
spatel marked 2 inline comments as done.
spatel added a comment.
Patch updated:
Only do the transform if both arms of the select are cmps. Defer canonicalization of single cmp pattern (see TODO comments).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72007/new/
https://reviews.llvm.org/D72007
Files:
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/not.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72007.236252.patch
Type: text/x-patch
Size: 3837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200105/c08a1489/attachment-0001.bin>
More information about the llvm-commits
mailing list