[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 02:46:15 PDT 2025


================
@@ -0,0 +1,41 @@
+; RUN: llc -mtriple=amdgcn -mcpu=gfx942  < %s | FileCheck %s
+
+; CHECK-LABEL:  test:
+; CHECK:        .loc    1 8 16                          ; test.py:8:16
+; CHECK-NEXT:   s_load_dword
+
+; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite)
----------------
jwu10003 wrote:

done

https://github.com/llvm/llvm-project/pull/160236


More information about the llvm-commits mailing list