Avoid replacing the value of a directly stored load with the stored value if the...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 11 Mar 2011 00:48:56 +0000 (00:48 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 11 Mar 2011 00:48:56 +0000 (00:48 +0000)
commit9ef82ce4fe8e6f9f49c31abeebcc9672985afad4
tree45098742a6f52d50e0cec97fb2f5574cb77014b0
parentd4a16ad85d991ff12487b40ef248833448047ead
Avoid replacing the value of a directly stored load with the stored value if the load is indexed. rdar://9117613.

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