[all-commits] [llvm/llvm-project] 731bde: [DAGCombiner] Avoid combining adjacent stores at -...

Shivam Gupta via All-commits all-commits at lists.llvm.org
Sun Dec 19 07:33:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 731bde1ed30fcd8474ea6b88c3a9fc3072d2dca4
      https://github.com/llvm/llvm-project/commit/731bde1ed30fcd8474ea6b88c3a9fc3072d2dca4
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2021-12-19 (Sun, 19 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/RISCV/optnone-store-no-combine.ll

  Log Message:
  -----------
  [DAGCombiner] Avoid combining adjacent stores at -O0 to improve debug experience

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 so we get this behavior at -O0.

Similar to D7181.

Differential Revision: https://reviews.llvm.org/D115808




More information about the All-commits mailing list