[all-commits] [llvm/llvm-project] cebf77: [CodeGen][DebugInfo] Add missing DebugLoc for Spli...

Haohai Wen via All-commits all-commits at lists.llvm.org
Sun Apr 7 18:44:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cebf77fb936a7270c7e3fa5c4a7e76216321d385
      https://github.com/llvm/llvm-project/commit/cebf77fb936a7270c7e3fa5c4a7e76216321d385
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2024-04-08 (Mon, 08 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/test/CodeGen/X86/fsafdo_test1.ll

  Log Message:
  -----------
  [CodeGen][DebugInfo] Add missing DebugLoc for SplitCriticalEdge (#72192)

In SplitCriticalEdge, DebugLoc of the branch instruction in new created
MBB was set to empty. It should be set and we can find proper DebugLoc
for it in most cases. This patch set it to non empty merged DebugLoc of
current MBB branches.



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