[llvm] [DEBUGINFO] Propagate debug metadata for sext SDNode. (PR #135971)
Alexander Peskov via llvm-commits
llvm-commits at lists.llvm.org
Fri May 2 03:51:11 PDT 2025
================
@@ -12,15 +12,8 @@ entry:
; foo(xyz);
; }
;
- ; Verify that debug info exists for "xyz" variable
- ;
- ; CHECK: DW_TAG_variable
- ; CHECK: .b8 120 // DW_AT_name
- ; CHECK-NEXT: .b8 121
- ; CHECK-NEXT: .b8 122
- ; CHECK-NEXT: .b8 0
- ; CHECK-NEXT: .b8 1 // DW_AT_decl_file
- ; CHECK-NEXT: .b8 6 // DW_AT_decl_line
+ ; CHECK-LABEL: Machine code for function test1
+ ; CHECK: DBG_VALUE %{{[0-9]+}}:int32regs, $noreg, !"xyz", !DIExpression(), debug-location !13; test.cu:2 line no:6
----------------
apeskov wrote:
Reasonable concern, absolutelly agree. Fixed.
https://github.com/llvm/llvm-project/pull/135971
More information about the llvm-commits
mailing list