[PATCH] D36505: [InstCombine] Make (X|C1)^C2 -> X^(C1^C2) iff X&~C1 == 0 work for splat vectors

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 13:36:32 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL310658: [InstCombine] Make (X|C1)^C2 -> X^(C1^C2) iff X&~C1 == 0 work for splat vectors (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D36505?vs=110326&id=110630#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36505

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/trunk/test/Transforms/InstCombine/or.ll
  llvm/trunk/test/Transforms/InstCombine/select-with-bitwise-ops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36505.110630.patch
Type: text/x-patch
Size: 6375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170810/63c407b0/attachment.bin>


More information about the llvm-commits mailing list