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)
commitb2f521b6475fb2edd4ff13ecdfe100b84321603c
tree11172e8d298de907415a0a86ec211009b038dd3c
parent69d25395542d5ff7cfa4422dcff7fe8569475910
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

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