OSDN Git Service

[InstCombine] Support vector splats in foldSelectICmpAnd.
authorCraig Topper <craig.topper@intel.com>
Sat, 5 Aug 2017 20:00:41 +0000 (20:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 5 Aug 2017 20:00:41 +0000 (20:00 +0000)
commit6eef5df328e31bcb5054d517ffe64e4ccc28b14c
tree17631b906a420758a5030bde841097bf9e60f570
parentf24c4662b3bb710d06aee662fb5fd47f3071e773
[InstCombine] Support vector splats in foldSelectICmpAnd.

Unfortunately, it looks like there's some other missed optimizations in the generated code for some of these cases. I'll try to look at some of those next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310184 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/select-with-bitwise-ops.ll