[DAGCombine] Fix demanded bits computation for exact shifts.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Jun 2015 16:59:31 +0000 (16:59 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Jun 2015 16:59:31 +0000 (16:59 +0000)
commit23a207d839e11123108fa799394ed383f0b6ee12
tree22ee9128f2927ceab24daf77891babc806afc502
parentcd39f3c6cb0dfa7247b0ca71cd08ce8661ee8207
[DAGCombine] Fix demanded bits computation for exact shifts.

Fixes a miscompilation of MultiSource/Benchmarks/MallocBench/gs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240796 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/xor.ll