Simplify demanded bits of select sources where the condition is a constant vector
authorPete Cooper <peter_cooper@apple.com>
Thu, 26 Jul 2012 23:10:24 +0000 (23:10 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 26 Jul 2012 23:10:24 +0000 (23:10 +0000)
commit7971de4178d3be9b31ac03c20e2b50c3e7f4641c
tree20b1ab3b863df8ea2eb884c38c019552b1a387a2
parent3ba90d9c0ec6c669174431ff6b4f504a582559c4
Simplify demanded bits of select sources where the condition is a constant vector

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160835 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
test/Transforms/InstCombine/vec_demanded_elts.ll