[PATCH] D45631: [InstCombine] Simplify 'xor'/'add' to 'or' if no common bits are set.
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 15 08:18:37 PDT 2018
lebedev.ri updated this revision to Diff 142569.
lebedev.ri marked 3 inline comments as done.
lebedev.ri added a comment.
Adjusted based on @spatel review.
Thank you for the review!
Repository:
rL LLVM
https://reviews.llvm.org/D45631
Files:
lib/Analysis/ValueTracking.cpp
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/logical-select.ll
test/Transforms/InstCombine/masked-merge-add.ll
test/Transforms/InstCombine/masked-merge-xor.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45631.142569.patch
Type: text/x-patch
Size: 11192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180415/5651eb56/attachment.bin>
More information about the llvm-commits
mailing list