When computing the demanded bits of Load SDNodes, make sure that we are looking at...
authorNadav Rotem <nrotem@apple.com>
Wed, 20 Mar 2013 22:53:44 +0000 (22:53 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 20 Mar 2013 22:53:44 +0000 (22:53 +0000)
commit7745175be32cd54e4aa6c9cce6f642f59a34a80f
tree7b1fa8940b3b420dc913c1c69d3b7d12c4f6ab7c
parent162c800384353b639aa5bc94242e6307dcfae2d3
When computing the demanded bits of Load SDNodes, make sure that we are looking at the loaded-value operand and not the ptr result (in case of pre-inc loads).
rdar://13348420

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177596 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/ARM/zextload_demandedbits.ll [new file with mode: 0644]