[PATCH] D34437: [InstCombine] Don't let folding (select (icmp eq (and X, C1), 0), Y, (or Y, C2)) create more instructions than it removes

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 09:07:58 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305926: [InstCombine] Don't let folding (select (icmp eq (and X, C1), 0), Y, (or Y… (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D34437?vs=103321&id=103403#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34437

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34437.103403.patch
Type: text/x-patch
Size: 7881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170621/5ba3c84d/attachment.bin>


More information about the llvm-commits mailing list