[PATCH] D36439: [InstCombine] Simplify and merge FoldOrWithConstants/FoldXorWithConstants

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 13 16:00:46 PDT 2017


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

Remove the helper and move the code into an earlier block that already checked for constants.


https://reviews.llvm.org/D36439

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36439.110896.patch
Type: text/x-patch
Size: 4912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170813/0165dd39/attachment.bin>


More information about the llvm-commits mailing list