[PATCH] D45539: [InstCombine]: foldSelectICmpAndAnd(): and is commutative

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 13:56:31 PDT 2018


lebedev.ri updated this revision to Diff 142256.
lebedev.ri added a comment.

Make `foldSelectICmpAndAnd()` much smaller, as suggested by @spatel.


Repository:
  rL LLVM

https://reviews.llvm.org/D45539

Files:
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/select-of-bittest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45539.142256.patch
Type: text/x-patch
Size: 5377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180412/122206f5/attachment.bin>


More information about the llvm-commits mailing list