================
@@ -22,7 +22,7 @@
 ; CHECK: DEBUG_VALUE: foo:i <- 3
 ; CHECK: DEBUG_VALUE: foo:i <- 7
 ; CHECK: DEBUG_VALUE: foo:i <- %
-; CHECK: DEBUG_VALUE: foo:i <- [DW_OP_deref] $vrdepot
+; CHECK: DEBUG_VALUE: foo:i <- [DW_OP_deref] %
----------------
thetheodor wrote:

hmmm, in main it looks like this:
```
bb.0.entry:
  $vrframelocal64 = MOV_DEPOT_ADDR_64 0
  $vrframe64 = cvta_local_64 $vrframelocal64
  %0:b64 = LEA_ADDRi64 $vrframe64, 0
  %1:b64 = LEA_ADDRi64 $vrframelocal64, 0
   ...
  ST_i32 %2:b32, 0, 0, 5, 32, %1:b64, 0, debug-location !15 :: (store (s32) 
into %ir.0, !tbaa !16, addrspace 5); dbg-value-const-byref.c:9
  DBG_VALUE $vrdepot, $noreg, !"i", !DIExpression(DW_OP_deref), debug-location 
!20; dbg-value-const-byref.c:10 line no:6
  ...
```
the cast is missing

https://github.com/llvm/llvm-project/pull/154814
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to