[PATCH] D35451: [InstCombine] Improve the expansion in SimplifyUsingDistributiveLaws to handle cases where one side doesn't simplify, but the other side resolves to an identity value

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 15 10:04:29 PDT 2017


craig.topper updated this revision to Diff 106776.
craig.topper added a comment.

Added Sanjay's compare test cases.


https://reviews.llvm.org/D35451

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/and.ll
  test/Transforms/InstCombine/or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35451.106776.patch
Type: text/x-patch
Size: 14631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170715/7e34f383/attachment-0001.bin>


More information about the llvm-commits mailing list