[llvm] [DAGCombiner] Preserve debug location of original load in fold (conv (load x)) (PR #160236)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 23 04:18:12 PDT 2025
================
@@ -0,0 +1,26 @@
+; RUN: llc -mtriple=amdgcn -mcpu=gfx942 < %s | FileCheck %s
+
+; CHECK-LABEL: test:
+; CHECK: .loc 1 8 16 prologue_end ; test.py:8:16
+; CHECK-NEXT: s_load_dword
+
+define void @test(ptr addrspace(1) inreg readonly captures(none) %0, ptr addrspace(1) inreg writeonly captures(none) %1) local_unnamed_addr !dbg !4 {
----------------
jwu10003 wrote:
done
https://github.com/llvm/llvm-project/pull/160236
More information about the llvm-commits
mailing list