[all-commits] [llvm/llvm-project] 7babf2: [StructurizeCFG] Stop setting DebugLocs in flow bl...

Emma Pilkington via All-commits all-commits at lists.llvm.org
Fri May 9 11:22:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7babf22461deb846827859de2e472a062815095b
      https://github.com/llvm/llvm-project/commit/7babf22461deb846827859de2e472a062815095b
  Author: Emma Pilkington <emma.pilkington95 at gmail.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
    M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
    M llvm/test/Transforms/StructurizeCFG/structurizecfg-debug-loc.ll

  Log Message:
  -----------
  [StructurizeCFG] Stop setting DebugLocs in flow blocks (#139088)

Flow blocks are generated code that don't really correspond to any
location in the source, so principally they should have empty DebugLocs.
Practically, setting these debug locs leads to redundant is_stmts being
generated after #108251, causing stepping test failures in the ROCm GDB
test suite.

Fixes SWDEV-502134



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list