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

Shivam Gupta via All-commits all-commits at lists.llvm.org
Wed Dec 22 21:20:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0489e891199afe766e6340be890b0d6cd91f0938
      https://github.com/llvm/llvm-project/commit/0489e891199afe766e6340be890b0d6cd91f0938
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2021-12-23 (Thu, 23 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.

Reviewed By: spatel, xgupta

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




More information about the All-commits mailing list