[llvm] [AMDGPU] Propagate debug info to constant materialization instr (PR #192669)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 08:13:22 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 172869 tests passed
* 3171 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/BPF/CORE/offset-reloc-basic.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -O2 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/BPF/CORE/Output/offset-reloc-basic.ll.tmp1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -O2 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=asm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/BPF/CORE/Output/offset-reloc-basic.ll.tmp1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=asm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/BPF/CORE/Output/offset-reloc-basic.ll.tmp1
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll:111:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: .long 108
# | ^
# | <stdin>:435:10: note: scanning from here
# | .long 20
# | ^
# | <stdin>:454:2: note: possible intended match here
# | .long 10262 # Line 10 Col 22
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 430: .byte 1
# | 431: .byte 0
# | 432: .long 32
# | 433: .long 0
# | 434: .long 20
# | 435: .long 20
# | next:111'0 X error: no match found
# | 436: .long 124
# | next:111'0 ~~~~~~~~~~~
# | 437: .long 144
# | next:111'0 ~~~~~~~~~~~
# | 438: .long 28
# | next:111'0 ~~~~~~~~~~
# | 439: .long 8 # FuncInfo
# | next:111'0 ~~~~~~~~~~~~~~~~~~~~
# | 440: .long 43 # FuncInfo section string offset=43
# | next:111'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 449: .long 0
# | next:111'0 ~~~~~~~~~
# | 450: .long 9216 # Line 9 Col 0
# | next:111'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 451: .long .Ltmp4
# | next:111'0 ~~~~~~~~~~~~~~
# | 452: .long 49
# | next:111'0 ~~~~~~~~~~
# | 453: .long 0
# | next:111'0 ~~~~~~~~~
# | 454: .long 10262 # Line 10 Col 22
# | next:111'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:111'1 ? possible intended match
# | 455: .long .Ltmp8
# | next:111'0 ~~~~~~~~~~~~~~
# | 456: .long 49
# | next:111'0 ~~~~~~~~~~
# | 457: .long 0
# | next:111'0 ~~~~~~~~~
# | 458: .long 11267 # Line 11 Col 3
# | next:111'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 459: .long .Ltmp9
# | next:111'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=asm -asm-verbose=0 -arm-atomic-cfg-tidy=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=asm -asm-verbose=0 -arm-atomic-cfg-tidy=0
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: .loc 1 0
# | ^
# | <stdin>:1:1: note: scanning from here
# | .syntax unified
# | ^
# | <stdin>:28:2: note: possible intended match here
# | .loc 1 2 0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .syntax unified
# | check:34'0 X~~~~~~~~~~~~~~~~ error: no match found
# | 2: .eabi_attribute 67, "2.09"
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: .eabi_attribute 6, 10
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 4: .eabi_attribute 7, 65
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 5: .eabi_attribute 8, 1
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 6: .eabi_attribute 9, 2
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 23: .type main,%function
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 24: .code 32
# | check:34'0 ~~~~~~~~~~
# | 25: main:
# | check:34'0 ~~~~~~
# | 26: .Lfunc_begin0:
# | check:34'0 ~~~~~~~~~~~~~~~
# | 27: .file 1 "/home/user/clang/build" "test.c"
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: .loc 1 2 0
# | check:34'0 ~~~~~~~~~~~~
# | check:34'1 ? possible intended match
# | 29: .fnstart
# | check:34'0 ~~~~~~~~~~
# | 30: .cfi_sections .debug_frame
# | check:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 31: .cfi_startproc
# | check:34'0 ~~~~~~~~~~~~~~~~
# | 32: .pad #8
# | check:34'0 ~~~~~~~~~
# | 33: sub sp, sp, #8
# | check:34'0 ~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll:9:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: jmpq *%{{.*}}
# | ^
# | <stdin>:53:8: note: scanning from here
# | .Ltmp2:
# | ^
# | <stdin>:54:18: note: possible intended match here
# | .short .Ltmp5-.Ltmp4 # Record length
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 48: .section .debug$S,"dr"
# | 49: .p2align 2, 0x0
# | 50: .long 4 # Debug section magic
# | 51: .long 241
# | 52: .long .Ltmp3-.Ltmp2 # Subsection size
# | 53: .Ltmp2:
# | next:9'0 X error: no match found
# | 54: .short .Ltmp5-.Ltmp4 # Record length
# | next:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:9'1 ? possible intended match
# | 55: .Ltmp4:
# | next:9'0 ~~~~~~~~
# | 56: .short 4353 # Record kind: S_OBJNAME
# | next:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 57: .long 0 # Signature
# | next:9'0 ~~~~~~~~~~~~~~~~~~~~~
# | 58: .byte 0 # Object name
# | next:9'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 59: .p2align 2, 0x0
# | next:9'0 ~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/192669
More information about the llvm-commits
mailing list