When the source has a series of assignments, users reasonably want to
authorPaul Robinson <paul_robinson@playstation.sony.com>
Thu, 26 Feb 2015 18:47:57 +0000 (18:47 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Thu, 26 Feb 2015 18:47:57 +0000 (18:47 +0000)
commit093d6e1a70d551c053b3e65f535d279919652c2a
treeada867b8a459f945195174bc4ac43f5ce61bd377
parentf00d7721247524828ddeb2be9a1962e10bae3670
When the source has a series of assignments, users reasonably want to
have the debugger step through each one individually. Turn off the
combine for adjacent stores at -O0 so we get this behavior.

Possibly, DAGCombine shouldn't run at all at -O0, but that's for
another day; see PR22346.

Differential Revision: http://reviews.llvm.org/D7181

llvm-svn: 230659
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/dbg-combine.ll [new file with mode: 0644]