[llvm] [DebugInfo] Verify DISubprogram has a type (PR #194556)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 02:52:29 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173347 tests passed
* 3264 tests skipped
* 16 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Analysis/LoopAccessAnalysis/debug-loc.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes='print<access-info>' -debug-only=loop-accesses -disable-output -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=print<access-info>' -debug-only=loop-accesses -disable-output -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
# 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/Analysis/LoopAccessAnalysis/debug-loc.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll:6:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: LAA: Checking a loop in 'negative_step' from negative_step.c:5:2
# | ^
# | <stdin>:1:1: note: scanning from here
# | DISubprogram requires a non-null type
# | ^
# | <stdin>:7:1: note: possible intended match here
# | LAA: Checking a loop in 'negative_step' from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: DISubprogram requires a non-null type
# | label:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !4 = distinct !DISubprogram(name: "negative_step", scope: !5, file: !5, spFlags: DISPFlagDefinition, unit: !6)
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: warning: ignoring invalid debug info in /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: Printing analysis 'Loop Access Analysis' for function 'negative_step':
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: loop:
# | label:6'0 ~~~~~~~
# | 6:
# | label:6'0 ~
# | 7: LAA: Checking a loop in 'negative_step' from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:6'1 ? possible intended match
# | 8: LAA: Found an analyzable loop: loop
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: LAA: Processing memory accesses...
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: AST: Alias Set Tracker: 1 alias sets for 2 pointer values.
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: AliasSet[0x2480d440, 2] may alias, No access Memory locations: (ptr %gep.A.plus.1, unknown before-or-after), (ptr %gep.A, unknown before-or-after)
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12:
# | label:6'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll -mtriple=arm64-apple-ios7.0 -pass-remarks-analysis=asm-printer --debugify-and-strip-all-safe=0 -verify-machineinstrs -pass-remarks-with-hotness=1 -asm-verbose=0 -debug-only=lazy-machine-block-freq,block-freq -debug-pass=Executions 2>&1 | /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/arm64-opt-remarks-lazy-bfi.ll -check-prefix=HOTNESS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm64-apple-ios7.0 -pass-remarks-analysis=asm-printer --debugify-and-strip-all-safe=0 -verify-machineinstrs -pass-remarks-with-hotness=1 -asm-verbose=0 -debug-only=lazy-machine-block-freq,block-freq -debug-pass=Executions
# 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/arm64-opt-remarks-lazy-bfi.ll -check-prefix=HOTNESS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll:75:12: error: HOTNESS: expected string not found in input
# | ; HOTNESS: arm64-summary-remarks.ll:5:0: 1 instructions in function (hotness: 33)
# | ^
# | <stdin>:1201:85: note: scanning from here
# | [2026-04-28 09:38:51.638532607] 0x39791120 Executing Pass 'AArch64 Assembly Printer' on Function 'empty_func'...
# | ^
# | <stdin>:1205:1: note: possible intended match here
# | remark: <unknown>:0:0: 1 instructions in function (hotness: 33)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1196: float-to-int: min = 1.0, max = 1.0, factor = 18014398509481984.0
# | 1197: - BB0[]: float = 1.0, scaled = 18014398509481984.0, int = 18014398509481984
# | 1198: block-frequency-info: empty_func
# | 1199: - BB0[]: float = 1.0, int = 18014398509481984, count = 33
# | 1200:
# | 1201: [2026-04-28 09:38:51.638532607] 0x39791120 Executing Pass 'AArch64 Assembly Printer' on Function 'empty_func'...
# | check:75'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 1202: remark: <unknown>:0:0: BasicBlock:
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1203: ret : 1
# | check:75'0 ~~~~~~~~
# | 1204: (hotness: 33)
# | check:75'0 ~~~~~~~~~~~~~~~
# | 1205: remark: <unknown>:0:0: 1 instructions in function (hotness: 33)
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:75'1 ? possible intended match
# | 1206: [2026-04-28 09:38:51.638624813] 0x39791120 Freeing Pass 'Machine Optimization Remark Emitter' on Function 'empty_func'...
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1207: [2026-04-28 09:38:51.638631272] 0x39791120 Freeing Pass 'Lazy Machine Block Frequency Analysis' on Function 'empty_func'...
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1208: [2026-04-28 09:38:51.638637457] 0x39791120 Freeing Pass 'AArch64 Assembly Printer' on Function 'empty_func'...
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1209: [2026-04-28 09:38:51.638642660] 0x39791120 Executing Pass 'Free MachineFunction' on Function 'empty_func'...
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1210: [2026-04-28 09:38:51.638654164] 0x39791120 Made Modification 'Free MachineFunction' on Function 'empty_func'...
# | check:75'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopDistribute/debug-loc.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=loop-distribute -enable-loop-distribute -debug-only=loop-distribute -disable-output 2>&1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=loop-distribute -enable-loop-distribute -debug-only=loop-distribute -disable-output /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll
# 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/Transforms/LoopDistribute/debug-loc.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll:6:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: LDist: Checking a loop in 'f' from f.c:5:2
# | ^
# | <stdin>:1:1: note: scanning from here
# | DISubprogram requires a non-null type
# | ^
# | <stdin>:5:1: note: possible intended match here
# | LDist: Checking a loop in 'f' from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: DISubprogram requires a non-null type
# | label:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !4 = distinct !DISubprogram(name: "f", scope: !5, file: !5, spFlags: DISPFlagDefinition, unit: !6)
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: warning: ignoring invalid debug info in /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4:
# | label:6'0 ~
# | 5: LDist: Checking a loop in 'f' from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopDistribute/debug-loc.ll
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:6'1 ? possible intended match
# | 6: LDist: Found a candidate loop: for.body
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: LDist: Backward dependences:
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: Backward:
# | label:6'0 ~~~~~~~~~~~
# | 9: %load.a = load i32, ptr %gep.a, align 4 ->
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: store i32 %mul.a, ptr %gep.a.plus4, align 4
# | label:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/PGOProfile/memprof_annotate_yaml.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_annotate_yaml.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_annotate_yaml.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.memprofdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.memprofdata
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.ll -passes='memprof-use<profile-filename=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.memprofdata>' -S 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_annotate_yaml.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=memprof-use<profile-filename=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_annotate_yaml.test.tmp/memprof_annotate_yaml.memprofdata>' -S
# 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/Transforms/PGOProfile/memprof_annotate_yaml.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_annotate_yaml.test:31:10: error: CHECK: expected string not found in input
# | ; CHECK: call ptr @_Znam(i64 4) #[[ATTR:[0-9]+]],
# | ^
# | <stdin>:1:1: note: scanning from here
# | DISubprogram requires a non-null type
# | ^
# | <stdin>:9:10: note: possible intended match here
# | %call = call ptr @_Znam(i64 4) #0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_annotate_yaml.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: DISubprogram requires a non-null type
# | check:31'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !2 = distinct !DISubprogram(name: "foo", linkageName: "_Z3foov", scope: !3, file: !3, line: 1, spFlags: DISPFlagDefinition, unit: !4)
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: warning: ignoring invalid debug info in <stdin>
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: ; ModuleID = '<stdin>'
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 5: source_filename = "<stdin>"
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6:
# | check:31'0 ~
# | 7: define dso_local ptr @_Z3foov() {
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: entry:
# | check:31'0 ~~~~~~~
# | 9: %call = call ptr @_Znam(i64 4) #0
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:31'1 ? possible intended match
# | 10: ret ptr %call
# | check:31'0 ~~~~~~~~~~~~~~~
# | 11: }
# | check:31'0 ~~
# | 12:
# | check:31'0 ~
# | 13: declare ptr @_Znam(i64)
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 14:
# | check:31'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/PGOProfile/memprof_max_cold_threshold.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_max_cold_threshold.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_max_cold_threshold.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --memprof-version=4 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.memprofdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --memprof-version=4 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.memprofdata
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata show --memory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.memprofdata | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_max_cold_threshold.test --check-prefixes=SUMMARY
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata show --memory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.memprofdata
# 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/Transforms/PGOProfile/memprof_max_cold_threshold.test --check-prefixes=SUMMARY
# note: command had no output on stdout or stderr
# RUN: at line 22
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.ll -passes='memprof-use<profile-filename=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.memprofdata>' -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_max_cold_threshold.test --check-prefixes=ALL,NONE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=memprof-use<profile-filename=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/PGOProfile/Output/memprof_max_cold_threshold.test.tmp/memprof_max_cold_threshold.memprofdata>' -S
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !2 = distinct !DISubprogram(name: "foo", linkageName: "_Z3foov", scope: !3, file: !3, line: 1, spFlags: DISPFlagDefinition, unit: !4)
# | warning: ignoring invalid debug info in <stdin>
# `-----------------------------
# 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/Transforms/PGOProfile/memprof_max_cold_threshold.test --check-prefixes=ALL,NONE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_max_cold_threshold.test:87:8: error: ALL: expected string not found in input
# | ; ALL: call ptr @_Znam(i64 4) {{.*}} !memprof ![[M1:[0-9]+]]
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:6:10: note: possible intended match here
# | %call = call ptr @_Znam(i64 4) #0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/memprof_max_cold_threshold.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '<stdin>'
# | check:87'0 X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "<stdin>"
# | check:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3:
# | check:87'0 ~
# | 4: define dso_local ptr @_Z3foov() {
# | check:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: entry:
# | check:87'0 ~~~~~~~
# | 6: %call = call ptr @_Znam(i64 4) #0
# | check:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:87'1 ? possible intended match
# | 7: ret ptr %call
# | check:87'0 ~~~~~~~~~~~~~~~
# | 8: }
# | check:87'0 ~~
# | 9:
# | check:87'0 ~
# | 10: declare ptr @_Znam(i64)
# | check:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 11:
# | check:87'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/WholeProgramDevirt/devirt-single-impl.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=wholeprogramdevirt -whole-program-visibility -pass-remarks=wholeprogramdevirt -stats /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=wholeprogramdevirt -whole-program-visibility -pass-remarks=wholeprogramdevirt -stats /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
# 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/Transforms/WholeProgramDevirt/devirt-single-impl.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll:9:10: error: CHECK: expected string not found in input
# | ; CHECK: remark: devirt-single.cc:30:32: single-impl: devirtualized a call to vf
# | ^
# | <stdin>:1:1: note: scanning from here
# | DISubprogram requires a non-null type
# | ^
# | <stdin>:10:1: note: possible intended match here
# | remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: DISubprogram requires a non-null type
# | check:9'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !8 = distinct !DISubprogram(name: "vf", linkageName: "_ZN3vt12vfEv", scope: !4, file: !4, line: 13, scopeLine: 13, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !3)
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: DISubprogram requires a non-null type
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: !9 = distinct !DISubprogram(name: "call", linkageName: "_Z4callPv", scope: !4, file: !4, line: 29, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !3)
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: DISubprogram requires a non-null type
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: !11 = distinct !DISubprogram(name: "call2", linkageName: "_Z5call2Pv", scope: !4, file: !4, line: 40, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !3)
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: DISubprogram requires a non-null type
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: !13 = distinct !DISubprogram(name: "call3", linkageName: "_Z5call3Pv", scope: !4, file: !4, line: 50, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !3)
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: warning: ignoring invalid debug info in /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1 ? possible intended match
# | 11: remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: remark: <unknown>:0:0: devirtualized vf
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: ; ModuleID = '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll'
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: source_filename = "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll"
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=wholeprogramdevirt -devirtualize-speculatively -pass-remarks=wholeprogramdevirt -stats /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=wholeprogramdevirt -devirtualize-speculatively -pass-remarks=wholeprogramdevirt -stats /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll
# 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/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll:13:10: error: CHECK: expected string not found in input
# | ; CHECK: remark: devirt-single.cc:30:32: single-impl: devirtualized a call to vf
# | ^
# | <stdin>:1:1: note: scanning from here
# | DISubprogram requires a non-null type
# | ^
# | <stdin>:14:1: note: possible intended match here
# | remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: DISubprogram requires a non-null type
# | check:13'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !9 = distinct !DISubprogram(name: "vf", linkageName: "_ZN3vt12vfEv", scope: !5, file: !5, line: 13, scopeLine: 13, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4)
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: DISubprogram requires a non-null type
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: !10 = distinct !DISubprogram(name: "vf_empty", linkageName: "_ZN3vt18vf_emptyEv", scope: !5, file: !5, line: 23, scopeLine: 23, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4)
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: DISubprogram requires a non-null type
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: !11 = distinct !DISubprogram(name: "call", linkageName: "_Z4callPv", scope: !5, file: !5, line: 29, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4)
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 9: DISubprogram requires a non-null type
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: !15 = distinct !DISubprogram(name: "call2", linkageName: "_Z5call2Pv", scope: !5, file: !5, line: 40, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4)
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: DISubprogram requires a non-null type
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: !17 = distinct !DISubprogram(name: "call3", linkageName: "_Z5call3Pv", scope: !5, file: !5, line: 50, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4)
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: warning: ignoring invalid debug info in /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:13'1 ? possible intended match
# | 15: remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: remark: <unknown>:0:0: single-impl: devirtualized a call to vf
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: remark: <unknown>:0:0: devirtualized vf
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: ; ModuleID = '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll'
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: source_filename = "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/WholeProgramDevirt/speculative-devirt-single-impl.ll"
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### lld
<details>
<summary>lld.ELF/lto/pseudo-probe-lto.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll -passes=pseudo-probe -function-sections -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=pseudo-probe -function-sections -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "foo", scope: !1, file: !1, line: 2, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in <stdin>
# `-----------------------------
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o -shared --lto-emit-asm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o -shared --lto-emit-asm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.lto.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll:14:10: error: CHECK: expected string not found in input
# | ; CHECK: .pseudoprobe [[#GUID]] 2 1 0
# | ^
# | <stdin>:13:40: note: scanning from here
# | .pseudoprobe 6699318081062747564 1 0 0 foo
# | ^
# | <stdin>:13:40: note: with "GUID" equal to "6699318081062747564"
# | .pseudoprobe 6699318081062747564 1 0 0 foo
# | ^
# | <stdin>:33:11: note: possible intended match here
# | .section .pseudo_probe_desc,"G", at progbits,.pseudo_probe_desc_foo,comdat
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 8: .cfi_startproc
# | 9: # %bb.0:
# | 10: pushq %rax
# | 11: .cfi_def_cfa_offset 16
# | 12: movq %rdi, %rax
# | 13: .pseudoprobe 6699318081062747564 1 0 0 foo
# | check:14'0 X~~~~ error: no match found
# | check:14'1 with "GUID" equal to "6699318081062747564"
# | 14: movl $1, %edi
# | check:14'0 ~~~~~~~~~~~~~~~
# | 15: callq *%rax
# | check:14'0 ~~~~~~~~~~~~~
# | 16: incl .Lg$local(%rip)
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 17: popq %rax
# | check:14'0 ~~~~~~~~~~~
# | 18: .cfi_def_cfa_offset 8
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 28: g:
# | check:14'0 ~~~
# | 29: .Lg$local:
# | check:14'0 ~~~~~~~~~~~
# | 30: .long 3 # 0x3
# | check:14'0 ~~~~~~~~~~~~~~~
# | 31: .size g, 4
# | check:14'0 ~~~~~~~~~~~~
# | 32:
# | check:14'0 ~
# | 33: .section .pseudo_probe_desc,"G", at progbits,.pseudo_probe_desc_foo,comdat
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:14'2 ? possible intended match
# | 34: .quad 6699318081062747564
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 35: .quad 281479271677951
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 36: .byte 3
# | check:14'0 ~~~~~~~~~
# | 37: .ascii "foo"
# | check:14'0 ~~~~~~~~~~~~~~
# | 38: .section ".note.GNU-stack","", at progbits
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: .addrsig
# | check:14'0 ~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### MLIR
<details>
<summary>MLIR.Dialect/LLVMIR/di-expression-legalization.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt -llvm-legalize-for-export --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir -check-prefix=CHECK-OPT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt -llvm-legalize-for-export --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir
# 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/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir -check-prefix=CHECK-OPT
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir -check-prefix=CHECK-TRANSLATE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "simplify", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir -check-prefix=CHECK-TRANSLATE
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir -check-prefix=CHECK-TRANSLATE
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/Import/debug-info.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -mlir-print-debuginfo -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -mlir-print-debuginfo -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "instruction_loc", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | DISubprogram requires a non-null type
# | !6 = distinct !DISubprogram(name: "callee", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:19 offset
# | DISubprogram requires a non-null type
# | !5 = distinct !DISubprogram(name: "lexical_block", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:53 offset
# | DISubprogram requires a non-null type
# | !5 = distinct !DISubprogram(name: "lexical_block_file", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:83 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "func_loc", scope: !1, file: !1, line: 42, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:240 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "intrinsic", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:264 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "class_field", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:340 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "dbg_use_before_def", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:389 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "dbg_use_before_def", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:414 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "dbg_broken_dominance_invoke", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:448 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "dbg_broken_dominance_invoke", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:478 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "namespace", scope: !5, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:509 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "noname_variable", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:531 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:552 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "func_in_module", scope: !4, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:567 offset
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "func", linkageName: "func", scope: !5, file: !5, line: 1, scopeLine: 1, flags: DIFlagArtificial, spFlags: DISPFlagDefinition, unit: !0)
# | DISubprogram requires a non-null type
# | !6 = distinct !DISubprogram(name: "func", linkageName: "func", scope: !5, file: !5, line: 1, scopeLine: 1, flags: DIFlagArtificial, spFlags: DISPFlagDefinition, unit: !2)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:588 offset
# | DISubprogram requires a non-null type
# | !1 = !DISubprogram(name: "declaration", scope: !2, file: !2, flags: DIFlagPrototyped, spFlags: 0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:613 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "A", scope: !4, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:628 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "SP", scope: !4, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:673 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "SP", scope: !4, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:718 offset
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "test", scope: !4, file: !4, spFlags: DISPFlagDefinition, unit: !5)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:874 offset
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:32:14: error: CHECK-DAG: expected string not found in input
# | ; CHECK-DAG: #[[RAW_FILE_LOC:.+]] = loc("debug-info.ll":1:2)
# | ^
# | <stdin>:19:39: note: scanning from here
# | %1 = llvm.mul %0, %0 : i32 loc(#loc1)
# | ^
# | <stdin>:23:101: note: possible intended match here
# | #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:19 offset ":0:0)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:65:10: error: CHECK: expected string not found in input
# | ; CHECK: #[[FILE:.+]] = #llvm.di_file<"debug-info.ll" in "/">
# | ^
# | <stdin>:30:45: note: scanning from here
# | %1 = llvm.mul %arg0, %arg0 : i32 loc(#loc1)
# | ^
# | <stdin>:34:91: note: possible intended match here
# | #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:53 offset ":0:0)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:97:10: error: CHECK: expected string not found in input
# | ; CHECK: #[[LB0:.+]] = #llvm.di_lexical_block_file<scope = #[[SP]], discriminator = 0>
# | ^
# | <stdin>:63:71: note: scanning from here
# | #di_subprogram = #llvm.di_subprogram<id = distinct[1]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "basic_type", file = #di_file, subprogramFlags = Definition, type = #di_subroutine_type>
# | ^
# | <stdin>:63:71: note: with "SP" equal to "di_subprogram"
# | #di_subprogram = #llvm.di_subprogram<id = distinct[1]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "basic_type", file = #di_file, subprogramFlags = Definition, type = #di_subroutine_type>
# | ^
# | <stdin>:73:4: note: possible intended match here
# | #di_file = #llvm.di_file<"debug-info.ll" in "/">
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:246:14: error: CHECK-DAG: expected string not found in input
# | ; CHECK-DAG: #[[FILE_LOC:.+]] = loc("debug-info.ll":42:0)
# | ^
# | <stdin>:129:21: note: scanning from here
# | llvm.func @func_loc() {
# | ^
# | <stdin>:138:1: note: possible intended match here
# | #loc = loc("debug-info.ll":0:0)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:279:36: error: undefined variable: $VAR1
# | ; CHECK: llvm.intr.dbg.declare #[[$VAR1]] = %[[ARG1]] : !llvm.ptr loc(#[[LOC1:.+]])
# | ^
# | <stdin>:143:53: note: with "ARG1" equal to "arg1"
# | llvm.func @intrinsic(%arg0: i64 loc(unknown), %arg1: !llvm.ptr loc(unknown)) {
# | ^
# | <stdin>:144:2: note: possible intended match here
# | llvm.return loc(#loc1)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:343:14: error: CHECK-DAG: expected string not found in input
# | ; CHECK-DAG: #[[COMP_SELF:.+]] = #llvm.di_composite_type<recId = [[REC_ID:.+]], isRecSelf = true>
# | ^
# | <stdin>:152:24: note: scanning from here
# | llvm.return loc(#loc3)
# | ^
# | <stdin>:157:14: note: possible intended match here
# | #di_subprogram = #llvm.di_subprogram<recId = distinct[0]<>, isRecSelf = true>
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:426:16: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: llvm.intr.dbg.value
# | ^
# | <stdin>:209:25: note: scanning from here
# | %1 = llvm.getelementptr %arg0[%0] : (!llvm.ptr, i64) -> !llvm.ptr, f64 loc(#loc1)
# | ^
# | <stdin>:221:2: note: possible intended match here
# | llvm.func @dbg_broken_dominance_invoke() attributes {personality = @personality} {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:458:10: error: CHECK: expected string not found in input
# | ; CHECK: llvm.intr.dbg.value
# | ^
# | <stdin>:221:40: note: scanning from here
# | llvm.func @dbg_broken_dominance_invoke() attributes {personality = @personality} {
# | ^
# | <stdin>:222:7: note: possible intended match here
# | %0 = llvm.invoke @callee() to ^bb1 unwind ^bb2 : () -> i64 loc(#loc1)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:489:10: error: CHECK: expected string not found in input
# | ; CHECK: llvm.intr.dbg.value
# | ^
# | <stdin>:240:22: note: scanning from here
# | %1 = llvm.landingpad cleanup : !llvm.struct<(ptr, i32)> loc(#loc1)
# | ^
# | <stdin>:241:2: note: possible intended match here
# | llvm.return loc(#loc1)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:603:18: error: CHECK-COUNT: expected string not found in input (1 out of 2)
# | ; CHECK-COUNT-2: #llvm.di_compile_unit<id = distinct[{{[0-9]+}}]<>
# | ^
# | <stdin>:287:30: note: scanning from here
# | llvm.func @distinct_cu_func0() {
# | ^
# | <stdin>:290:2: note: possible intended match here
# | llvm.func @distinct_cu_func1() {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:619:14: error: CHECK-NOT: excluded string found in input
# | ; CHECK-NOT: id = distinct
# | ^
# | <stdin>:344:42: note: found here
# | #di_compile_unit = #llvm.di_compile_unit<id = distinct[1]<>, sourceLanguage = DW_LANG_C, file = #di_file>
# | ^~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:620:14: error: CHECK-NOT: excluded string found in input
# | ; CHECK-NOT: subprogramFlags =
# | ^
# | <stdin>:348:171: note: found here
# | #di_subprogram1 = #llvm.di_subprogram<recId = distinct[0]<>, id = distinct[2]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "string_type", file = #di_file, subprogramFlags = Definition, type = #di_subroutine_type>
# | ^~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:894:10: error: CHECK: expected string not found in input
# | ; CHECK: #[[FILE:.+]] = #llvm.di_file<"test.f90" in "">
# | ^
# | <stdin>:398:340: note: scanning from here
# | #di_subprogram = #llvm.di_subprogram<id = distinct[1]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "fn_with_annotations", linkageName = "fn_with_annotations", file = #di_file, line = 10, scopeLine = 10, subprogramFlags = Definition, type = #di_subroutine_type, annotations = #llvm.di_annotation<name = "foo", value = "bar">>
# | ^
# | <stdin>:412:4: note: possible intended match here
# | #di_file = #llvm.di_file<"test.c" in "">
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 14: #loc1 = loc(unknown)
# | 15: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | 16: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | 17: llvm.func @instruction_loc(%arg0: i32 loc(unknown)) -> i32 {
# | 18: %0 = llvm.add %arg0, %arg0 : i32 loc(#loc1)
# | 19: %1 = llvm.mul %0, %0 : i32 loc(#loc1)
# | dag:32'0 X error: no match found
# | 20: llvm.return %1 : i32 loc(#loc1)
# | dag:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: } loc(#loc1)
# | dag:32'0 ~~~~~~~~~~~~~~
# | 22: } loc(#loc)
# | dag:32'0 ~~~~~~~~~~~~
# | 23: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:19 offset ":0:0)
# | dag:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:32'1 ? possible intended match
# | 24:
# | dag:32'0 ~
# | 25: #loc1 = loc(unknown)
# | dag:32'0 ~~~~~~~~~~~~~~~~~~~~~
# | 26: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | dag:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | dag:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: llvm.func @lexical_block(%arg0: i32 loc(unknown)) -> i32 {
# | dag:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %0 = llvm.add %arg0, %arg0 : i32 loc(#loc1)
# | 30: %1 = llvm.mul %arg0, %arg0 : i32 loc(#loc1)
# | check:65'0 X error: no match found
# | 31: llvm.return %1 : i32 loc(#loc1)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 32: } loc(#loc1)
# | check:65'0 ~~~~~~~~~~~~~~
# | 33: } loc(#loc)
# | check:65'0 ~~~~~~~~~~~~
# | 34: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:53 offset ":0:0)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:65'1 ? possible intended match
# | 35:
# | check:65'0 ~
# | 36: #loc1 = loc(unknown)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~
# | 37: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 38: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: llvm.func @lexical_block_file(%arg0: i32 loc(unknown)) -> i32 {
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 58: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:113 offset ":0:0)
# | 59: #loc1 = loc("debug-info.ll":0:0)
# | 60: #loc2 = loc(unknown)
# | 61: #di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_C, file = #di_file>
# | 62: #di_subroutine_type = #llvm.di_subroutine_type<types = #di_null_type, #di_basic_type, #di_basic_type1, #di_basic_type2>
# | 63: #di_subprogram = #llvm.di_subprogram<id = distinct[1]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "basic_type", file = #di_file, subprogramFlags = Definition, type = #di_subroutine_type>
# | check:97'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:97'1 with "SP" equal to "di_subprogram"
# | 64: #loc3 = loc(fused<#di_subprogram>[#loc1])
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 65:
# | check:97'0 ~
# | 66: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 67: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 68: llvm.func @derived_type() {
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 69: llvm.return loc(#loc2)
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 70: } loc(#loc3)
# | check:97'0 ~~~~~~~~~~~~~~
# | 71: } loc(#loc)
# | check:97'0 ~~~~~~~~~~~~
# | 72: #di_basic_type = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "int">
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 73: #di_file = #llvm.di_file<"debug-info.ll" in "/">
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:97'2 ? possible intended match
# | 74: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:137 offset ":0:0)
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 75: #loc1 = loc("debug-info.ll":0:0)
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 76: #loc2 = loc(unknown)
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~
# | 77: #di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_C, file = #di_file>
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 78: #di_derived_type = #llvm.di_derived_type<tag = DW_TAG_pointer_type, baseType = #di_basic_type>
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 124: #di_subprogram = #llvm.di_subprogram<id = distinct[1]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "subprogram", linkageName = "subprogram", file = #di_file, line = 42, scopeLine = 42, subprogramFlags = Definition, type = #di_subroutine_type>
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 125: #loc3 = loc(fused<#di_subprogram>[#loc1])
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 126:
# | check:97'0 ~
# | 127: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 128: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 129: llvm.func @func_loc() {
# | check:97'0 ~~~~~~~~~~~~~~~~~~~~
# | dag:246'0 X~~~~ error: no match found
# | 130: llvm.return loc(#loc1)
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 131: } loc(#loc1)
# | dag:246'0 ~~~~~~~~~~~~~~
# | 132: } loc(#loc)
# | dag:246'0 ~~~~~~~~~~~~
# | 133: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:240 offset ":0:0)
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 134: #loc1 = loc(unknown)
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~
# | 135:
# | dag:246'0 ~
# | 136: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 137: } loc(#loc)
# | dag:246'0 ~~~~~~~~~~~~
# | 138: #loc = loc("debug-info.ll":0:0)
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:246'1 ? possible intended match
# | 139:
# | dag:246'0 ~
# | 140: #loc1 = loc(unknown)
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~
# | 141: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 142: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 143: llvm.func @intrinsic(%arg0: i64 loc(unknown), %arg1: !llvm.ptr loc(unknown)) {
# | dag:246'0 ~~~~~~~~~~~~~~~~~~~~~
# | check:279'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match failed for invalid pattern
# | check:279'1 undefined variable: $VAR1
# | check:279'2 with "ARG1" equal to "arg1"
# | 144: llvm.return loc(#loc1)
# | check:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | check:279'3 ? possible intended match
# | 145: } loc(#loc1)
# | check:279'0 ~~~~~~~~~~~~~~
# | 146: } loc(#loc)
# | check:279'0 ~~~~~~~~~~~~
# | 147: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:264 offset ":0:0)
# | check:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 148:
# | check:279'0 ~
# | 149: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | check:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 150: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | check:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 151: llvm.func @class_method() {
# | check:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 152: llvm.return loc(#loc3)
# | dag:343'0 X error: no match found
# | 153: } loc(#loc1)
# | dag:343'0 ~~~~~~~~~~~~~~
# | 154: } loc(#loc)
# | dag:343'0 ~~~~~~~~~~~~
# | 155: #di_file = #llvm.di_file<"debug-info.ll" in "/">
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 156: #di_null_type = #llvm.di_null_type
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 157: #di_subprogram = #llvm.di_subprogram<recId = distinct[0]<>, isRecSelf = true>
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:343'1 ? possible intended match
# | 158: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:311 offset ":0:0)
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 159: #loc1 = loc(unknown)
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~
# | 160: #loc2 = loc("debug-info.ll":1:2)
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 161: #di_compile_unit = #llvm.di_compile_unit<id = distinct[1]<>, sourceLanguage = DW_LANG_C, file = #di_file>
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 162: #di_composite_type = #llvm.di_composite_type<tag = DW_TAG_class_type, name = "class_name", file = #di_file, line = 42, flags = "TypePassByReference|NonTrivial", elements = #di_subprogram>
# | dag:343'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 204: %0 = llvm.mlir.constant(16 : i64) : i64 loc(#loc1)
# | 205: llvm.cond_br %arg1, ^bb1, ^bb2 loc(#loc1)
# | 206: ^bb1: // pred: ^bb0
# | 207: llvm.br ^bb3 loc(#loc1)
# | 208: ^bb2: // pred: ^bb0
# | 209: %1 = llvm.getelementptr %arg0[%0] : (!llvm.ptr, i64) -> !llvm.ptr, f64 loc(#loc1)
# | next:426'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 210: llvm.br ^bb3 loc(#loc1)
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 211: ^bb3: // 2 preds: ^bb1, ^bb2
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 212: llvm.return loc(#loc1)
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 213: } loc(#loc1)
# | next:426'0 ~~~~~~~~~~~~~~
# | 214: } loc(#loc)
# | next:426'0 ~~~~~~~~~~~~
# | 215: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:414 offset ":0:0)
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 216:
# | next:426'0 ~
# | 217: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 218: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 219: llvm.func @callee() -> i64 loc(#loc1)
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 220: llvm.func @personality(...) -> i32 loc(#loc1)
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 221: llvm.func @dbg_broken_dominance_invoke() attributes {personality = @personality} {
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:426'1 ? possible intended match
# | check:458'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 222: %0 = llvm.invoke @callee() to ^bb1 unwind ^bb2 : () -> i64 loc(#loc1)
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:458'1 ? possible intended match
# | 223: ^bb1: // pred: ^bb0
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~
# | 224: llvm.return loc(#loc1)
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 225: ^bb2: // pred: ^bb0
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~
# | 226: %1 = llvm.landingpad cleanup : !llvm.struct<(ptr, i32)> loc(#loc1)
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 227: llvm.return loc(#loc1)
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 235: llvm.func @callee() -> i64 loc(#loc1)
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 236: llvm.func @personality(...) -> i32 loc(#loc1)
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 237: llvm.func @dbg_broken_dominance_invoke_reordered() attributes {personality = @personality} {
# | check:458'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 238: %0 = llvm.invoke @callee() to ^bb2 unwind ^bb1 : () -> i64 loc(#loc1)
# | 239: ^bb1: // pred: ^bb0
# | 240: %1 = llvm.landingpad cleanup : !llvm.struct<(ptr, i32)> loc(#loc1)
# | check:489'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 241: llvm.return loc(#loc1)
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | check:489'1 ? possible intended match
# | 242: ^bb2: // pred: ^bb0
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~
# | 243: llvm.return loc(#loc1)
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 244: } loc(#loc1)
# | check:489'0 ~~~~~~~~~~~~~~
# | 245: } loc(#loc)
# | check:489'0 ~~~~~~~~~~~~
# | 246: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:478 offset ":0:0)
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 282: } loc(#loc)
# | check:489'0 ~~~~~~~~~~~~
# | 283: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:567 offset ":0:0)
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 284:
# | check:489'0 ~
# | 285: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 286: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 287: llvm.func @distinct_cu_func0() {
# | check:489'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | count:603'0 X~~~~ error: no match found
# | 288: llvm.return loc(#loc1)
# | count:603'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 289: } loc(#loc1)
# | count:603'0 ~~~~~~~~~~~~~~
# | 290: llvm.func @distinct_cu_func1() {
# | count:603'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | count:603'1 ? possible intended match
# | 291: llvm.return loc(#loc1)
# | count:603'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 292: } loc(#loc1)
# | count:603'0 ~~~~~~~~~~~~~~
# | 293: } loc(#loc)
# | count:603'0 ~~~~~~~~~~~~
# | 294: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:588 offset ":0:0)
# | count:603'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 295: #loc1 = loc(unknown)
# | count:603'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 339: #di_string_type = #llvm.di_string_type<tag = DW_TAG_string_type>
# | 340: #di_subprogram = #llvm.di_subprogram<recId = distinct[0]<>, isRecSelf = true>
# | 341: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:769 offset ":0:0)
# | 342: #loc1 = loc("debug-info.ll":0:0)
# | 343: #loc2 = loc(unknown)
# | 344: #di_compile_unit = #llvm.di_compile_unit<id = distinct[1]<>, sourceLanguage = DW_LANG_C, file = #di_file>
# | not:619 !~~~~~~~~~~~~ error: no match expected
# | 345: #di_local_variable = #llvm.di_local_variable<scope = #di_subprogram, name = "string_size", file = #di_file, type = #di_basic_type>
# | 346: #di_string_type1 = #llvm.di_string_type<tag = DW_TAG_string_type, name = "character(*)", sizeInBits = 32, alignInBits = 8, stringLength = #di_local_variable, stringLengthExp = <[DW_OP_push_object_address, DW_OP_plus_uconst(8)]>, stringLocationExp = <[DW_OP_push_object_address, DW_OP_deref]>>
# | 347: #di_subroutine_type = #llvm.di_subroutine_type<types = #di_string_type1, #di_string_type>
# | 348: #di_subprogram1 = #llvm.di_subprogram<recId = distinct[0]<>, id = distinct[2]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "string_type", file = #di_file, subprogramFlags = Definition, type = #di_subroutine_type>
# | not:620 !~~~~~~~~~~~~~~~~ error: no match expected
# | 349: #loc3 = loc(fused<#di_subprogram1>[#loc1])
# | 350:
# | 351: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | 352: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | 353: llvm.func @imp_fn() {
# | .
# | .
# | .
# | 393: #di_subroutine_type = #llvm.di_subroutine_type<callingConvention = DW_CC_program>
# | 394: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:847 offset ":0:0)
# | 395: #loc1 = loc("test.f90":10:0)
# | 396: #loc2 = loc(unknown)
# | 397: #di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_Fortran95, file = #di_file>
# | 398: #di_subprogram = #llvm.di_subprogram<id = distinct[1]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "fn_with_annotations", linkageName = "fn_with_annotations", file = #di_file, line = 10, scopeLine = 10, subprogramFlags = Definition, type = #di_subroutine_type, annotations = #llvm.di_annotation<name = "foo", value = "bar">>
# | check:894'0 X error: no match found
# | 399: #loc3 = loc(fused<#di_subprogram>[#loc1])
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 400:
# | check:894'0 ~
# | 401: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 402: llvm.mlir.global common @block(dense<0> : tensor<4xi8>) {addr_space = 0 : i32} : !llvm.array<4 x i8> loc(#loc)
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 403: llvm.module_flags [#llvm.mlir.module_flag<warning, "Debug Info Version", 3 : i32>] loc(#loc)
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 407: } loc(#loc)
# | check:894'0 ~~~~~~~~~~~~
# | 408: #loc = loc("within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/debug-info.ll:874 offset ":0:0)
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 409: #loc1 = loc(unknown)
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~
# | 410:
# | check:894'0 ~
# | 411: #di_basic_type = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "int", sizeInBits = 32>
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 412: #di_file = #llvm.di_file<"test.c" in "">
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:894'1 ? possible intended match
# | 413: #di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_C, file = #di_file>
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 414: #di_global_variable = #llvm.di_global_variable<scope = #di_compile_unit, name = "a", file = #di_file, line = 2, type = #di_basic_type, isDefined = true>
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 415: #di_global_variable1 = #llvm.di_global_variable<scope = #di_compile_unit, name = "b", file = #di_file, line = 3, type = #di_basic_type, isDefined = true>
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 416: #di_global_variable_expression = #llvm.di_global_variable_expression<var = #di_global_variable, expr = <>>
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 417: #di_global_variable_expression1 = #llvm.di_global_variable_expression<var = #di_global_variable1, expr = <>>
# | check:894'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/Import/exception.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "instruction_loc", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | DISubprogram requires a non-null type
# | !6 = distinct !DISubprogram(name: "callee", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll:150 offset
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll:170:16: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: llvm.intr.dbg.value #di_local_variable #llvm.di_expression<[DW_OP_LLVM_fragment(64, 64)]> = %[[ARG]] : i32
# | ^
# | <stdin>:98:57: note: scanning from here
# | %5 = llvm.landingpad cleanup : !llvm.struct<(ptr, i32)>
# | ^
# | <stdin>:98:57: note: with "ARG" equal to "4"
# | %5 = llvm.landingpad cleanup : !llvm.struct<(ptr, i32)>
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/exception.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 93: llvm.invoke @foo(%1) to ^bb1 unwind ^bb2(%2 : i32) : (!llvm.ptr) -> ()
# | 94: ^bb1: // pred: ^bb0
# | 95: %3 = llvm.load %arg0 {alignment = 4 : i64} : !llvm.ptr -> i32
# | 96: llvm.invoke @foo(%1) to ^bb3 unwind ^bb2(%3 : i32) : (!llvm.ptr) -> ()
# | 97: ^bb2(%4: i32): // 2 preds: ^bb0, ^bb1
# | 98: %5 = llvm.landingpad cleanup : !llvm.struct<(ptr, i32)>
# | next:170'0 X error: no match found
# | next:170'1 with "ARG" equal to "4"
# | 99: llvm.br ^bb3
# | next:170'0 ~~~~~~~~~~~~~~
# | 100: ^bb3: // 2 preds: ^bb1, ^bb2
# | next:170'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: llvm.return %0 : i32
# | next:170'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 102: }
# | next:170'0 ~~~
# | 103: }
# | next:170'0 ~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/Import/import-failure.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -emit-expensive-warnings -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll 2>&1 -o /dev/null | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -emit-expensive-warnings -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll -o /dev/null
# 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/mlir/test/Target/LLVMIR/Import/import-failure.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:6:15: error: CHECK-SAME: expected string not found in input
# | ; CHECK-SAME: warning: unhandled debug variable record #dbg_value(!DIArgList(i64 %{{.*}}, i64 undef), !{{.*}}, !DIExpression(DW_OP_LLVM_arg, 0, DW_OP_LLVM_arg, 1, DW_OP_constu, 1, DW_OP_mul, DW_OP_plus, DW_OP_stack_value), !{{.*}})
# | ^
# | <stdin>:3:162: note: scanning from here
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:1 offset
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: DISubprogram requires a non-null type
# | 2: !4 = distinct !DISubprogram(name: "intrinsic", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | 3: warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:1 offset
# | same:6 X~~~~~~~~~~ error: no match found
# | 4: within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:25 offset :0:0: error: unsupported TBAA node format: !2 = !{!3, i64 1, !"omnipotent char"}
# | same:6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:39 offset :0:0: error: has cycle in TBAA graph: !1 = distinct !{!1, i64 4, !"int"}
# | same:6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:51 offset :0:0: warning: expected an access group node to be empty and distinct
# | same:6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/import-failure.ll:51 offset :0:0: error: unsupported access group node: !0 = !{}
# | same:6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: <unknown>:0: warning: expected all loop properties to be either debug locations or metadata nodes
# | same:6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/Import/metadata-loop.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll
# .---command stderr------------
# | <unknown>:0: warning: could not lookup access group
# | DISubprogram requires a non-null type
# | !5 = distinct !DISubprogram(name: "loop_locs", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll:343 offset
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll:345:10: error: CHECK: expected string not found in input
# | ; CHECK: #[[start_loc:.*]] = loc("metadata-loop.ll":1:2)
# | ^
# | <stdin>:172:35: note: scanning from here
# | llvm.func @unused_parallel_access(%arg0: !llvm.ptr) {
# | ^
# | <stdin>:174:26: note: possible intended match here
# | llvm.br ^bb1 {loop_annotation = #loop_annotation}
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/metadata-loop.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 167: }
# | 168:
# | 169: #access_group = #llvm.access_group<id = distinct[0]<>>
# | 170: #loop_annotation = #llvm.loop_annotation<parallelAccesses = #access_group>
# | 171: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | 172: llvm.func @unused_parallel_access(%arg0: !llvm.ptr) {
# | check:345'0 X~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 173: %0 = llvm.load %arg0 {access_groups = [#access_group], alignment = 4 : i64} : !llvm.ptr -> i32
# | check:345'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 174: llvm.br ^bb1 {loop_annotation = #loop_annotation}
# | check:345'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:345'1 ? possible intended match
# | 175: ^bb1: // pred: ^bb0
# | check:345'0 ~~~~~~~~~~~~~~~~~~~~~
# | 176: llvm.return
# | check:345'0 ~~~~~~~~~~~~~
# | 177: }
# | check:345'0 ~~~
# | 178: }
# | check:345'0 ~~
# | 179:
# | check:345'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/llvmir-debug.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-debug.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-debug.mlir --check-prefixes=CHECK,RECORDS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-debug.mlir
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !1 = !DISubprogram(name: "func_decl_with_subprogram", scope: !2, file: !2, spFlags: 0)
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "outer_func", scope: !1, file: !1, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)
# | DISubprogram requires a non-null type
# | !9 = distinct !DISubprogram(name: "inner_func", scope: !1, file: !1, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0)
# | DISubprogram requires a non-null type
# | !4 = distinct !DISubprogram(name: "func", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | DISubprogram requires a non-null type
# | !2 = distinct !DISubprogram(name: "fn_with_gl", scope: !3, file: !3, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !4)
# | DISubprogram requires a non-null type
# | !5 = distinct !DISubprogram(name: "func1", scope: !1, file: !1, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)
# | DISubprogram requires a non-null type
# | !7 = distinct !DISubprogram(name: "func2", scope: !3, file: !3, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2)
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "test", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "test", scope: !4, file: !4, spFlags: DISPFlagDefinition, unit: !5)
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-debug.mlir --check-prefixes=CHECK,RECORDS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-debug.mlir:205:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: declare !dbg
# | ^
# | <stdin>:17:30: note: scanning from here
# | define void @func_with_debug(i64 %0) !dbg !3 {
# | ^
# | <stdin>:20:7: note: possible intended match here
# | #dbg_declare(ptr %2, !25, !DIExpression(DW_OP_deref, DW_OP_LLVM_convert, 4, DW_ATE_signed), !27)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-debug.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 12:
# | 13: define void @func_no_debug() {
# | 14: ret void
# | 15: }
# | 16:
# | 17: define void @func_with_debug(i64 %0) !dbg !3 {
# | label:205'0 X~~~~~~~~~~~~~~~~~ error: no match found
# | 18: %2 = alloca i64, align 8, !dbg !21
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: #dbg_value(i64 %0, !22, !DIExpression(DW_OP_LLVM_fragment, 0, 1), !24)
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 20: #dbg_declare(ptr %2, !25, !DIExpression(DW_OP_deref, DW_OP_LLVM_convert, 4, DW_ATE_signed), !27)
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:205'1 ? possible intended match
# | 21: #dbg_value(i64 %0, !28, !DIExpression(), !29)
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 22: call void @func_no_debug(), !dbg !30
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23: call void @func_no_debug(), !dbg !30
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 24: call void @func_no_debug(), !dbg !31
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 25: call void @func_no_debug(), !dbg !32
# | label:205'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/loop-metadata.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/loop-metadata.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/loop-metadata.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/loop-metadata.mlir
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !5 = distinct !DISubprogram(name: "loop_locs", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/loop-metadata.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/loop-metadata.mlir:310:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: @loop_annotation_with_locs
# | ^
# | <stdin>:261:25: note: scanning from here
# | define void @loopOptions(i32 %0, i32 %1) {
# | ^
# | <stdin>:299:14: note: possible intended match here
# | !3 = !{!"llvm.loop.unroll.disable"}
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/loop-metadata.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 256: ; ModuleID = 'LLVMDialectModule'
# | 257: source_filename = "LLVMDialectModule"
# | 258:
# | 259: declare void @foo(i32)
# | 260:
# | 261: define void @loopOptions(i32 %0, i32 %1) {
# | label:310'0 X~~~~~~~~~~~~~~~~~~ error: no match found
# | 262: %3 = alloca i32, i32 %0, align 4
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 263: br label %4
# | label:310'0 ~~~~~~~~~~~~~
# | 264:
# | label:310'0 ~
# | 265: 4: ; preds = %7, %2
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~
# | 266: %5 = phi i32 [ %8, %7 ], [ 0, %2 ]
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 294: !llvm.module.flags = !{!0}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 295:
# | label:310'0 ~
# | 296: !0 = !{i32 2, !"Debug Info Version", i32 3}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 297: !1 = distinct !{!1, !2, !3, !4, !5, !6, !7}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 298: !2 = !{!"llvm.loop.interleave.count", i32 1}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 299: !3 = !{!"llvm.loop.unroll.disable"}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:310'1 ? possible intended match
# | 300: !4 = !{!"llvm.licm.disable"}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 301: !5 = !{!"llvm.loop.pipeline.disable", i1 true}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 302: !6 = !{!"llvm.loop.pipeline.initiationinterval", i32 2}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 303: !7 = !{!"llvm.loop.parallel_accesses", !8, !9}
# | label:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 304: !8 = distinct !{}
# | label:310'0 ~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.mlir-translate/import-diagnostics.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll -import-llvm -split-input-file -error-diagnostics-only 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll --check-prefix=ERROR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll -import-llvm -split-input-file -error-diagnostics-only
# 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/mlir/test/mlir-translate/import-diagnostics.ll --check-prefix=ERROR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll:38:14: error: ERROR-NOT: excluded string found in input
# | ; ERROR-NOT: warning:
# | ^
# | <stdin>:4:1: note: found here
# | warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll:34 offset
# | ^~~~~~~~
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll:19 offset :0:0: error: unsupported TBAA node format: !2 = !{!3, i64 1, !"omnipotent char"}
# | 2: DISubprogram requires a non-null type
# | 3: !4 = distinct !DISubprogram(name: "intrinsic", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# | 4: warning: ignoring invalid debug info in within split at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-translate/import-diagnostics.ll:34 offset
# | not:38 !~~~~~~~ error: no match expected
# | 5: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, i64 = dense<[32, 64]> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little">, llvm.module_asm = [], llvm.target_triple = ""} {
# | 6: llvm.func @warning(%arg0: i64, %arg1: !llvm.ptr) {
# | 7: llvm.br ^bb1
# | 8: ^bb1: // pred: ^bb0
# | 9: llvm.return
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/194556
More information about the llvm-commits
mailing list