[clang] [llvm] [inlineasm] Improve support for multiple inline asm constraints (e.g. "rm") (PR #197798)
via cfe-commits
cfe-commits at lists.llvm.org
Sun May 24 19:03:38 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 174619 tests passed
* 3383 tests skipped
* 12 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/O3-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --debugify-and-strip-all-safe=0 -mtriple=arm64-- -O3 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --debugify-and-strip-all-safe=0 -mtriple=arm64-- -O3 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/AArch64/O3-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll:112:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:108:7: note: 'next' match was here
# | Post-Dominator Tree Construction
# | ^
# | <stdin>:106:30: note: previous match ended here
# | Analysis containing CSE Info
# | ^
# | <stdin>:107:1: note: non-matching line after previous match is here
# | Natural Loop Information
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 103: Safe Stack instrumentation pass
# | 104: Insert stack protectors
# | 105: Module Verifier
# | 106: Analysis containing CSE Info
# | 107: Natural Loop Information
# | 108: Post-Dominator Tree Construction
# | next:112 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 109: Branch Probability Analysis
# | 110: Basic Alias Analysis (stateless AA impl)
# | 111: Function Alias Analysis Results
# | 112: IRTranslator
# | 113: AArch64O0PreLegalizerCombiner
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/llc-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=GCN-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=GCN-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll:101:15: error: GCN-O0-NEXT: expected string not found in input
# | ; GCN-O0-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:86:32: note: scanning from here
# | Insert stack protectors
# | ^
# | <stdin>:91:9: note: possible intended match here
# | MachineDominator Tree Construction
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 81: DummyCGSCCPass
# | 82: FunctionPass Manager
# | 83: Dominator Tree Construction
# | 84: Prepare inline asm insts
# | 85: Safe Stack instrumentation pass
# | 86: Insert stack protectors
# | next:101'0 X error: no match found
# | 87: Cycle Info Analysis
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 88: Uniformity Analysis
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 89: Assignment Tracking Analysis
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 90: AMDGPU DAG->DAG Pattern Instruction Selection
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 91: MachineDominator Tree Construction
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:101'1 ? possible intended match
# | 92: SI Fix SGPR copies
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 93: MachinePostDominator Tree Construction
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 94: SI Lower i1 Copies
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: Finalize ISel and expand pseudo-instructions
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 96: Local Stack Slot Allocation
# | next:101'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/ARM/O3-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm -O3 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/ARM/O3-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/ARM/O3-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm -O3 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/ARM/O3-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/ARM/O3-pipeline.ll:74:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:88:7: note: 'next' match was here
# | Post-Dominator Tree Construction
# | ^
# | <stdin>:84:17: note: previous match ended here
# | Module Verifier
# | ^
# | <stdin>:85:1: note: non-matching line after previous match is here
# | Basic Alias Analysis (stateless AA impl)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/ARM/O3-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 83: Insert stack protectors
# | 84: Module Verifier
# | 85: Basic Alias Analysis (stateless AA impl)
# | 86: Function Alias Analysis Results
# | 87: Natural Loop Information
# | 88: Post-Dominator Tree Construction
# | next:74 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 89: Branch Probability Analysis
# | 90: Assignment Tracking Analysis
# | 91: Lazy Branch Probability Analysis
# | 92: Lazy Block Frequency Analysis
# | 93: ARM Instruction Selection
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/opt-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 -mattr=+d -O1 --debug-pass=Structure /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/opt-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/opt-pipeline.ll --check-prefix=LAXX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 -mattr=+d -O1 --debug-pass=Structure /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/opt-pipeline.ll -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/LoongArch/opt-pipeline.ll --check-prefix=LAXX
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/opt-pipeline.ll:81:14: error: LAXX-NEXT: is not on the line after the previous match
# | ; LAXX-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:67:7: note: 'next' match was here
# | Post-Dominator Tree Construction
# | ^
# | <stdin>:63:17: note: previous match ended here
# | Module Verifier
# | ^
# | <stdin>:64:1: note: non-matching line after previous match is here
# | Basic Alias Analysis (stateless AA impl)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/opt-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 62: Insert stack protectors
# | 63: Module Verifier
# | 64: Basic Alias Analysis (stateless AA impl)
# | 65: Function Alias Analysis Results
# | 66: Natural Loop Information
# | 67: Post-Dominator Tree Construction
# | next:81 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 68: Branch Probability Analysis
# | 69: Assignment Tracking Analysis
# | 70: Lazy Branch Probability Analysis
# | 71: Lazy Block Frequency Analysis
# | 72: LoongArch DAG->DAG Pattern Instruction Selection
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/O3-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --debugify-and-strip-all-safe=0 -mtriple=powerpc64-- -O3 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/O3-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/O3-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --debugify-and-strip-all-safe=0 -mtriple=powerpc64-- -O3 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/PowerPC/O3-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/O3-pipeline.ll:90:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:88:7: note: 'next' match was here
# | Post-Dominator Tree Construction
# | ^
# | <stdin>:84:17: note: previous match ended here
# | Module Verifier
# | ^
# | <stdin>:85:1: note: non-matching line after previous match is here
# | Basic Alias Analysis (stateless AA impl)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/O3-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 83: Insert stack protectors
# | 84: Module Verifier
# | 85: Basic Alias Analysis (stateless AA impl)
# | 86: Function Alias Analysis Results
# | 87: Natural Loop Information
# | 88: Post-Dominator Tree Construction
# | next:90 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 89: Branch Probability Analysis
# | 90: Assignment Tracking Analysis
# | 91: Lazy Branch Probability Analysis
# | 92: Lazy Block Frequency Analysis
# | 93: PowerPC DAG->DAG Pattern Instruction Selection
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/asm-template-I.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/asm-template-I.ll -mtriple=powerpc64le-- | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/asm-template-I.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mtriple=powerpc64le--
# 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/PowerPC/asm-template-I.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/asm-template-I.ll:8:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: stw 3, -4(1)
# | ^
# | <stdin>:11:18: note: scanning from here
# | # %bb.0: # %entry
# | ^
# | <stdin>:16:2: note: possible intended match here
# | li 3, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/asm-template-I.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: .prefalign 4, .Lfunc_end0, nop
# | 7: .type main, at function
# | 8: main: # @main
# | 9: .Lfunc_begin0:
# | 10: .cfi_startproc
# | 11: # %bb.0: # %entry
# | next:8'0 X error: no match found
# | 12: #APP
# | next:8'0 ~~~~~~
# | 13: .ascii "-1 at 3"
# | next:8'0 ~~~~~~~~~~~~~~~
# | 14: .byte 0
# | next:8'0 ~~~~~~~~~
# | 15: #NO_APP
# | next:8'0 ~~~~~~~~~
# | 16: li 3, 0
# | next:8'0 ~~~~~~~~~
# | next:8'1 ? possible intended match
# | 17: blr
# | next:8'0 ~~~~~
# | 18: .long 0
# | next:8'0 ~~~~~~~~~
# | 19: .quad 0
# | next:8'0 ~~~~~~~~~
# | 20: .Lfunc_end0:
# | next:8'0 ~~~~~~~~~~~~~
# | 21: .size main, .Lfunc_end0-.Lfunc_begin0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/O3-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -O3 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -O3 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/RISCV/O3-pipeline.ll --check-prefixes=CHECK
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll:98:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:92:7: note: 'next' match was here
# | Post-Dominator Tree Construction
# | ^
# | <stdin>:88:17: note: previous match ended here
# | Module Verifier
# | ^
# | <stdin>:89:1: note: non-matching line after previous match is here
# | Basic Alias Analysis (stateless AA impl)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 87: Insert stack protectors
# | 88: Module Verifier
# | 89: Basic Alias Analysis (stateless AA impl)
# | 90: Function Alias Analysis Results
# | 91: Natural Loop Information
# | 92: Post-Dominator Tree Construction
# | next:98 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 93: Branch Probability Analysis
# | 94: Assignment Tracking Analysis
# | 95: Lazy Branch Probability Analysis
# | 96: Lazy Block Frequency Analysis
# | 97: RISC-V DAG->DAG Pattern Instruction Selection
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llc-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv-- -disable-verify -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=SPIRV-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv-- -disable-verify -debug-pass=Structure
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=SPIRV-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll:67:17: error: SPIRV-O0-NEXT: expected string not found in input
# | ; SPIRV-O0-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:56:38: note: scanning from here
# | Analysis for ComputingKnownBits
# | ^
# | <stdin>:62:18: note: possible intended match here
# | Finalize ISel and expand pseudo-instructions
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 51: SPIRVPreLegalizerCombiner
# | 52: SPIRV pre legalizer
# | 53: Analysis containing CSE Info
# | 54: Legalizer
# | 55: SPIRV post legalizer
# | 56: Analysis for ComputingKnownBits
# | next:67'0 X error: no match found
# | 57: Natural Loop Information
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 58: Lazy Branch Probability Analysis
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 59: Lazy Block Frequency Analysis
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 60: InstructionSelect
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 61: ResetMachineFunction
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 62: Finalize ISel and expand pseudo-instructions
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:67'1 ? possible intended match
# | 63: Local Stack Slot Allocation
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 64: Remove Redundant DEBUG_VALUE analysis
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 65: Fixup Statepoint Caller Saved
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 66: Lazy Machine Block Frequency Analysis
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 67: Machine Optimization Remark Emitter
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=wasm32-- -debug-pass=Structure /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll -o /dev/null 2>&1 -verify-machineinstrs=0 -O0 -global-isel | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll --check-prefixes=ENABLED,NOFALLBACK,ENABLED-O0
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=wasm32-- -debug-pass=Structure /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll -o /dev/null -verify-machineinstrs=0 -O0 -global-isel
# 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/WebAssembly/GlobalISel/gisel-commandline-option.ll --check-prefixes=ENABLED,NOFALLBACK,ENABLED-O0
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=wasm32-- -debug-pass=Structure /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll -o /dev/null 2>&1 -verify-machineinstrs=0 -global-isel | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll --check-prefixes=ENABLED,NOFALLBACK,ENABLED-O1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=wasm32-- -debug-pass=Structure /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll -o /dev/null -verify-machineinstrs=0 -global-isel
# 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/WebAssembly/GlobalISel/gisel-commandline-option.ll --check-prefixes=ENABLED,NOFALLBACK,ENABLED-O1
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll:28:20: error: ENABLED-O1-NEXT: is not on the line after the previous match
# | ; ENABLED-O1-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:104:9: note: 'next' match was here
# | MachineDominator Tree Construction
# | ^
# | <stdin>:86:33: note: previous match ended here
# | Analysis for ComputingKnownBits
# | ^
# | <stdin>:87:1: note: non-matching line after previous match is here
# | Natural Loop Information
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 99: Optimize machine instruction PHIs
# | 100: Slot index numbering
# | 101: Merge disjoint stack slots
# | 102: Local Stack Slot Allocation
# | 103: Remove dead machine instructions
# | 104: MachineDominator Tree Construction
# | next:28 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 105: Machine Natural Loop Construction
# | 106: Machine Block Frequency Analysis
# | 107: Basic Alias Analysis (stateless AA impl)
# | 108: Function Alias Analysis Results
# | 109: Early Machine Loop Invariant Code Motion
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.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/CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.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/CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.ll:11:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: ## InlineAsm Start
# | ^
# | <stdin>:10:2: note: 'next' match was here
# | ## InlineAsm Start
# | ^
# | <stdin>:8:20: note: previous match ended here
# | ## %bb.0: ## %entry
# | ^
# | <stdin>:9:1: note: non-matching line after previous match is here
# | movl $10, %eax
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 5: .p2align 4
# | 6: _main: ## @main
# | 7: .cfi_startproc
# | 8: ## %bb.0: ## %entry
# | 9: movl $10, %eax
# | 10: ## InlineAsm Start
# | next:11 !~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 11: bsrl %eax, %eax
# | 12: ## InlineAsm End
# | 13: retl
# | 14: .cfi_endproc
# | 15: ## -- End function
# | 16: .subsections_via_symbols
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/inline-asm-rm.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -O0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/inline-asm-rm.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/inline-asm-rm.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -O0
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:560: decltype(auto) llvm::cast(const From &) [To = llvm::BasicBlock, From = llvm::Use]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -O0
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'Prepare inline asm insts' on function '@test_asm_goto'
# | #0 0x000000000886b9a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000008868911 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000886c7c1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007dea683e9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007dea68442b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007dea683e927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007dea683cc8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007dea683cc81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007dea683df517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x00000000073e367a getSuccessor /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Instructions.h:4156:5
# | #10 0x00000000073e367a splitCriticalEdges /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/InlineAsmPrepare.cpp:178:14
# | #11 0x00000000073e367a processCallBrInst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/InlineAsmPrepare.cpp:222:14
# | #12 0x00000000073e367a runImpl(llvm::Function&, bool, llvm::DomTreeUpdater&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/InlineAsmPrepare.cpp:287:16
# | #13 0x00000000073e39b1 (anonymous namespace)::InlineAsmPrepare::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/InlineAsmPrepare.cpp:300:10
# | #14 0x0000000007a58848 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #15 0x0000000007a60152 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1428:13
# | #16 0x0000000007a5930f runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1497:27
# | #17 0x0000000007a5930f llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #18 0x000000000518e2cb compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:882:17
# | #19 0x000000000518b213 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #20 0x00007dea683ce1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #21 0x00007dea683ce28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #22 0x0000000005186de5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5186de5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/inline-asm-rm.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/inline-asm-rm.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/opt-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -O1 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/opt-pipeline.ll -o /dev/null 2>&1 | grep -v 'Verify generated machine code' | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/opt-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -O1 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/X86/opt-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/opt-pipeline.ll:81:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: Dominator Tree Construction
# | ^
# | <stdin>:71:7: note: 'next' match was here
# | Post-Dominator Tree Construction
# | ^
# | <stdin>:67:17: note: previous match ended here
# | Module Verifier
# | ^
# | <stdin>:68:1: note: non-matching line after previous match is here
# | Basic Alias Analysis (stateless AA impl)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/opt-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 66: Insert stack protectors
# | 67: Module Verifier
# | 68: Basic Alias Analysis (stateless AA impl)
# | 69: Function Alias Analysis Results
# | 70: Natural Loop Information
# | 71: Post-Dominator Tree Construction
# | next:81 !~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 72: Branch Probability Analysis
# | 73: Assignment Tracking Analysis
# | 74: Lazy Branch Probability Analysis
# | 75: Lazy Block Frequency Analysis
# | 76: X86 DAG->DAG Instruction Selection
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/197798
More information about the cfe-commits
mailing list