Fix a bug in the code that merges consecutive stores. Previously we did not
authorNadav Rotem <nrotem@apple.com>
Thu, 6 Dec 2012 17:34:13 +0000 (17:34 +0000)
committerNadav Rotem <nrotem@apple.com>
Thu, 6 Dec 2012 17:34:13 +0000 (17:34 +0000)
commitdde785cd70a4a7418f310a0d86afcbfe3dd8dbfe
treeea4d0b0f52d1351c717e1fdaef78eb972771b108
parent67b9928a937f57831c7270ba9911515d64c2cfb9
Fix a bug in the code that merges consecutive stores. Previously we did not
check if loads that happen in between stores alias with the first store in the
chain, only with the second store onwards.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169516 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2012-12-06-python27-miscompile.ll [new file with mode: 0644]