[llvm] [NFC][SPIRV] Converge different `resolveDebugParentScope` versions into a single one (PR #219925)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 04:07:49 PDT 2026
Juan Manuel Martinez =?utf-8?q?CaamaƱo?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/219925 at github.com>
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 181020 tests passed
* 3709 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_non_semantic_info /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_non_semantic_info /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll -o -
# 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/CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll:10:14: error: CHECK-DAG: expected string not found in input
# | ; CHECK-DAG: OpExtInst [[VOID]] [[EXT]] DebugTypedef {{.*}} [[CU]]
# | ^
# | <stdin>:1:1: note: scanning from here
# | OpCapability Kernel
# | ^
# | <stdin>:1:1: note: with "VOID" equal to "%9"
# | OpCapability Kernel
# | ^
# | <stdin>:1:1: note: with "EXT" equal to "%2"
# | OpCapability Kernel
# | ^
# | <stdin>:1:1: note: with "CU" equal to "%16"
# | OpCapability Kernel
# | ^
# | <stdin>:29:8: note: possible intended match here
# | %23 = OpExtInst %9 %2 DebugTypedef %7 %19 %15 %22 %14 %21
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-namespace-scope.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: OpCapability Kernel
# | dag:10'0 { search range start (exclusive)
# | dag:10'1 error: no match found in search range
# | dag:10'2 with "VOID" equal to "%9"
# | dag:10'3 with "EXT" equal to "%2"
# | dag:10'4 with "CU" equal to "%16"
# | 2: OpCapability Addresses
# | 3: OpCapability Linkage
# | 4: OpExtension "SPV_KHR_non_semantic_info"
# | 5: %1 = OpExtInstImport "OpenCL.std"
# | 6: %2 = OpExtInstImport "NonSemantic.Shader.DebugInfo.100"
# | .
# | .
# | .
# | 24: %18 = OpConstant %10 4
# | 25: %19 = OpExtInst %9 %2 DebugTypeBasic %4 %17 %18 %14
# | 26: %20 = OpExtInst %9 %2 DebugSource %6
# | 27: %21 = OpExtInst %9 %2 DebugLexicalBlock %20 %14 %14 %16 %8
# | 28: %22 = OpConstant %10 2
# | 29: %23 = OpExtInst %9 %2 DebugTypedef %7 %19 %15 %22 %14 %21
# | dag:10'5 ? possible intended match
# | 30: %24 = OpConstant %10 1
# | 31: %25 = OpExtInst %9 %2 DebugTypeComposite %5 %24 %15 %24 %14 %21 %6 %17 %14
# | 32: ; -- End function
# | dag:10'6 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/219925
More information about the llvm-commits
mailing list