[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)
commit1dcd8b09b4ebf9f44e47c488980d8a95d446d328
treef6cc94797690124b61fb288576ac1fe613ec6ce4
parent289ec857d22c784af27b9b3d3c6b9c711e36284a
[DAGCombine] Fix demanded bits computation for exact shifts.

Fixes a miscompilation of MultiSource/Benchmarks/MallocBench/gs

llvm-svn: 240796
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/X86/xor.ll