[PATCH] D115808: [DAGCombiner] Avoid combining adjacent stores at -O0 to improve debug experience

Shivam Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 06:00:23 PST 2021


xgupta added a comment.

There is some problem with the script when I generate .ll file with -g flag and use it to generate CHECK lines it will not work, but it work when the test case has no debug info. This debuginfo test also doesn't use the script for check lines https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/RISCV/dwarf-eh.ll.

Before patch 
Address            Line   Column File   ISA Discriminator Flags

------------------ ------ ------ ------ --- ------------- -------------

0x0000000000401110      2      0      1   0             0  is_stmt
0x000000000040111b      5      8      1   0             0  is_stmt prologue_end
0x0000000000401124      9      3      1   0             0  is_stmt
0x0000000000401126      9      3      1   0             0  is_stmt end_sequence

After patch
Address            Line   Column File   ISA Discriminator Flags

------------------ ------ ------ ------ --- ------------- -------------

0x0000000000010180      2      0      1   0             0  is_stmt
0x0000000000010190      5      8      1   0             0  is_stmt prologue_end
0x0000000000010194      6      8      1   0             0  is_stmt
0x0000000000010198      7      8      1   0             0  is_stmt
0x000000000001019c      9      3      1   0             0  is_stmt
0x00000000000101a4      9      3      1   0             0  is_stmt end_sequence


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115808/new/

https://reviews.llvm.org/D115808



More information about the llvm-commits mailing list