[Mlir-commits] [mlir] [mlir][func] Refactor FuncToLLVM discardable attributes algorithm (PR #188232)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 24 05:37:02 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7704 tests passed
* 603 tests skipped
* 12 tests failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Driver/func-attr-fast-math.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -O1 -emit-llvm -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90 --check-prefix=CHECK-NOFASTMATH
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -O1 -emit-llvm -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90
# 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/flang/test/Driver/func-attr-fast-math.f90 --check-prefix=CHECK-NOFASTMATH
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -Ofast -emit-llvm -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90 --check-prefix=CHECK-OFAST
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -Ofast -emit-llvm -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90
# 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/flang/test/Driver/func-attr-fast-math.f90 --check-prefix=CHECK-OFAST
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90:14:16: error: CHECK-OFAST: expected string not found in input
# | ! CHECK-OFAST: attributes #[[ATTRS]] = { {{.*}}"no-signed-zeros-fp-math"="true"{{.*}} }
# | ^
# | <stdin>:8:43: note: scanning from here
# | define void @func_() local_unnamed_addr #0 {
# | ^
# | <stdin>:8:43: note: with "ATTRS" equal to "0"
# | define void @func_() local_unnamed_addr #0 {
# | ^
# | <stdin>:12:1: note: possible intended match here
# | attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) }
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-fast-math.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: flang-23: warning: argument '-Ofast' is deprecated; use '-O3 -ffast-math -fstack-arrays -fno-protect-parens' for the same behavior, or '-O3 -fstack-arrays' to enable only conforming optimizations [-Wdeprecated-ofast]
# | 2: ; ModuleID = 'FIRModule'
# | 3: source_filename = "FIRModule"
# | 4: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | 5: target triple = "x86_64-unknown-linux-gnu"
# | 6:
# | 7: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | 8: define void @func_() local_unnamed_addr #0 {
# | check:14'0 X~~ error: no match found
# | check:14'1 with "ATTRS" equal to "0"
# | 9: ret void
# | check:14'0 ~~~~~~~~~~
# | 10: }
# | check:14'0 ~~
# | 11:
# | check:14'0 ~
# | 12: attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) }
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:14'2 ? possible intended match
# | 13:
# | check:14'0 ~
# | 14: !llvm.ident = !{!0}
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~
# | 15: !llvm.module.flags = !{!1, !2, !3}
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16:
# | check:14'0 ~
# | 17: !0 = !{!"flang version 23.0.0 (https://github.com/llvm/llvm-project aebdf970117698951a86a9d6d8998b7ed77d5efe)"}
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Driver/func-attr-instrument-functions.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -O1 -finstrument-functions -emit-llvm -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-instrument-functions.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-instrument-functions.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -O1 -finstrument-functions -emit-llvm -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-instrument-functions.f90
# 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/flang/test/Driver/func-attr-instrument-functions.f90
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-instrument-functions.f90:7:10: error: CHECK: expected string not found in input
# | ! CHECK: {{.*}}call void @__cyg_profile_func_enter(ptr {{.*}}@func_, ptr {{.*}})
# | ^
# | <stdin>:7:21: note: scanning from here
# | define void @func_() local_unnamed_addr #0 {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr-instrument-functions.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | 2: source_filename = "FIRModule"
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | 4: target triple = "x86_64-unknown-linux-gnu"
# | 5:
# | 6: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | 7: define void @func_() local_unnamed_addr #0 {
# | check:7 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 8: ret void
# | check:7 ~~~~~~~~~~
# | 9: }
# | check:7 ~~
# | 10:
# | check:7 ~
# | 11: attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) }
# | check:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12:
# | check:7 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Driver/func-attr.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple aarch64-none-none -mframe-pointer=none -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90 --check-prefix=CHECK-NONEFP
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple aarch64-none-none -mframe-pointer=none -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90
# 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/flang/test/Driver/func-attr.f90 --check-prefix=CHECK-NONEFP
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple aarch64-none-none -mframe-pointer=non-leaf -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90 --check-prefix=CHECK-NONLEAFFP
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple aarch64-none-none -mframe-pointer=non-leaf -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90
# 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/flang/test/Driver/func-attr.f90 --check-prefix=CHECK-NONLEAFFP
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90:15:25: error: CHECK-NONLEAFFP-SAME: expected string not found in input
# | ! CHECK-NONLEAFFP-SAME: #0
# | ^
# | <stdin>:6:21: note: scanning from here
# | define void @func_() {
# | ^
# | <stdin>:10:17: note: possible intended match here
# | !llvm.ident = !{!0}
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/func-attr.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | 2: source_filename = "FIRModule"
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
# | 4: target triple = "aarch64-none-none"
# | 5:
# | 6: define void @func_() {
# | same:15'0 X~~ error: no match found
# | 7: ret void
# | same:15'0 ~~~~~~~~~~
# | 8: }
# | same:15'0 ~~
# | 9:
# | same:15'0 ~
# | 10: !llvm.ident = !{!0}
# | same:15'0 ~~~~~~~~~~~~~~~~~~~~
# | same:15'1 ? possible intended match
# | 11: !llvm.module.flags = !{!1}
# | same:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12:
# | same:15'0 ~
# | 13: !0 = !{!"flang version 23.0.0 (https://github.com/llvm/llvm-project aebdf970117698951a86a9d6d8998b7ed77d5efe)"}
# | same:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: !1 = !{i32 2, !"Debug Info Version", i32 3}
# | same:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Driver/mrecip.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-OMIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-OMIT
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-NOARG
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-NOARG
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=all -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-ALL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=all '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-ALL
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=none -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-NONE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=none '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-NONE
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=default -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-DEF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=default '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-DEF
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=divd,divf,divh,vec-divd,vec-divf,vec-divh,sqrtd,sqrtf,sqrth,vec-sqrtd,vec-sqrtf,vec-sqrth -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-POS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=divd,divf,divh,vec-divd,vec-divf,vec-divh,sqrtd,sqrtf,sqrth,vec-sqrtd,vec-sqrtf,vec-sqrth '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-POS
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=!divd,!divf,!divh,!vec-divd,!vec-divf,!vec-divh,!sqrtd,!sqrtf,!sqrth,!vec-sqrtd,!vec-sqrtf,!vec-sqrth -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-NEG
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-mrecip=!divd,!divf,!divh,!vec-divd,!vec-divf,!vec-divh,!sqrtd,!sqrtf,!sqrth,!vec-sqrtd,!vec-sqrtf,!vec-sqrth' '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-NEG
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=!divd,divf,!divh,sqrtd,!sqrtf,sqrth -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-MIX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-mrecip=!divd,divf,!divh,sqrtd,!sqrtf,sqrth' '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG,CHECK-FLANG-MIX
# note: command had no output on stdout or stderr
# RUN: at line 11
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=xxx -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG-INV
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=xxx '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG-INV
# note: command had no output on stdout or stderr
# RUN: at line 12
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=divd,divd -### -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG-DUP
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -mrecip=divd,divd '-###' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FLANG-DUP
# note: command had no output on stdout or stderr
# RUN: at line 14
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefix=CHECK-FC1-OMIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefix=CHECK-FC1-OMIT
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -mrecip -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FC1,CHECK-FC1-NOARG
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -mrecip -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# 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/flang/test/Driver/mrecip.f90 --check-prefixes=CHECK-FC1,CHECK-FC1-NOARG
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90:41:14: error: CHECK-FC1: expected string not found in input
# | ! CHECK-FC1: define {{.+}} @func{{.*}} #[[ATTRS:[0-9]+]]
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:6:1: note: possible intended match here
# | define void @func_() {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/mrecip.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | check:41'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target triple = "x86_64-unknown-linux-gnu"
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5:
# | check:41'0 ~
# | 6: define void @func_() {
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | check:41'1 ? possible intended match
# | 7: ret void
# | check:41'0 ~~~~~~~~~~
# | 8: }
# | check:41'0 ~~
# | 9:
# | check:41'0 ~
# | 10: !llvm.ident = !{!0}
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~
# | 11: !llvm.module.flags = !{!1}
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Driver/prefer-vector-width.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90 --check-prefix=CHECK-DEF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90
# 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/flang/test/Driver/prefer-vector-width.f90 --check-prefix=CHECK-DEF
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -mprefer-vector-width=none -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90 2>&1| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90 --check-prefixes=CHECK,CHECK-NONE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -mprefer-vector-width=none -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90
# 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/flang/test/Driver/prefer-vector-width.f90 --check-prefixes=CHECK,CHECK-NONE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90:12:10: error: CHECK: expected string not found in input
# | ! CHECK: define {{.+}} @func{{.*}} #[[ATTRS:[0-9]+]]
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:6:1: note: possible intended match here
# | define void @func_() {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/prefer-vector-width.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | check:12'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target triple = "x86_64-unknown-linux-gnu"
# | check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5:
# | check:12'0 ~
# | 6: define void @func_() {
# | check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | check:12'1 ? possible intended match
# | 7: ret void
# | check:12'0 ~~~~~~~~~~
# | 8: }
# | check:12'0 ~~
# | 9:
# | check:12'0 ~
# | 10: !llvm.ident = !{!0}
# | check:12'0 ~~~~~~~~~~~~~~~~~~~~
# | 11: !llvm.module.flags = !{!1}
# | check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Fir/target-rewrite-target-cpu.fir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
fir-opt --target-rewrite /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir --check-prefixes=ALL_MLIR,UNCHANGED_MLIR
# executed command: fir-opt --target-rewrite /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir
# 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/flang/test/Fir/target-rewrite-target-cpu.fir --check-prefixes=ALL_MLIR,UNCHANGED_MLIR
# note: command had no output on stdout or stderr
# RUN: at line 2
fir-opt --target-rewrite="target-cpu=gfx90a" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir --check-prefixes=ALL_MLIR,CHANGED_MLIR
# executed command: fir-opt --target-rewrite=target-cpu=gfx90a /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir
# 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/flang/test/Fir/target-rewrite-target-cpu.fir --check-prefixes=ALL_MLIR,CHANGED_MLIR
# note: command had no output on stdout or stderr
# RUN: at line 4
tco /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir --check-prefixes=ALL_LLVM,UNCHANGED_LLVM
# executed command: tco /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir
# 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/flang/test/Fir/target-rewrite-target-cpu.fir --check-prefixes=ALL_LLVM,UNCHANGED_LLVM
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir:25:14: error: ALL_LLVM: expected string not found in input
# | // ALL_LLVM: define void @dummyfunc() #[[ATTRS:.*]] {
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:5:1: note: possible intended match here
# | define void @dummyfunc() {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-cpu.fir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | check:25'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target triple = "x86_64-unknown-linux-gnu"
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4:
# | check:25'0 ~
# | 5: define void @dummyfunc() {
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1 ? possible intended match
# | 6: ret void
# | check:25'0 ~~~~~~~~~~
# | 7: }
# | check:25'0 ~~
# | 8:
# | check:25'0 ~
# | 9: !llvm.module.flags = !{!0}
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10:
# | check:25'0 ~
# | 11: !0 = !{i32 2, !"Debug Info Version", i32 3}
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Fir/target-rewrite-target-features.fir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
fir-opt --target-rewrite /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir --check-prefixes=ALL_MLIR,UNCHANGED_MLIR
# executed command: fir-opt --target-rewrite /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir
# 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/flang/test/Fir/target-rewrite-target-features.fir --check-prefixes=ALL_MLIR,UNCHANGED_MLIR
# note: command had no output on stdout or stderr
# RUN: at line 2
fir-opt --target-rewrite="target-features=+gfx9-insts,+wavefrontsize64" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir --check-prefixes=ALL_MLIR,CHANGED_MLIR
# executed command: fir-opt --target-rewrite=target-features=+gfx9-insts,+wavefrontsize64 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir
# 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/flang/test/Fir/target-rewrite-target-features.fir --check-prefixes=ALL_MLIR,CHANGED_MLIR
# note: command had no output on stdout or stderr
# RUN: at line 4
tco /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir --check-prefixes=ALL_LLVM,UNCHANGED_LLVM
# executed command: tco /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir
# 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/flang/test/Fir/target-rewrite-target-features.fir --check-prefixes=ALL_LLVM,UNCHANGED_LLVM
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir:29:14: error: ALL_LLVM: expected string not found in input
# | // ALL_LLVM: define void @dummyfunc() #[[ATTRS:.*]] {
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:5:1: note: possible intended match here
# | define void @dummyfunc() {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/target-rewrite-target-features.fir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | check:29'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target triple = "x86_64-unknown-linux-gnu"
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4:
# | check:29'0 ~
# | 5: define void @dummyfunc() {
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:29'1 ? possible intended match
# | 6: ret void
# | check:29'0 ~~~~~~~~~~
# | 7: }
# | check:29'0 ~~
# | 8:
# | check:29'0 ~
# | 9: !llvm.module.flags = !{!0}
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10:
# | check:29'0 ~
# | 11: !0 = !{i32 2, !"Debug Info Version", i32 3}
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Integration/aarch64-outline-atomics.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -S -emit-llvm --target=aarch64-none-none -moutline-atomics -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/aarch64-outline-atomics.f90 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/aarch64-outline-atomics.f90 --check-prefixes=CHECKON,CHECKALL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -S -emit-llvm --target=aarch64-none-none -moutline-atomics -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/aarch64-outline-atomics.f90
# 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/flang/test/Integration/aarch64-outline-atomics.f90 --check-prefixes=CHECKON,CHECKALL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/aarch64-outline-atomics.f90:13:18: error: CHECKALL-SAME: expected string not found in input
# | ! CHECKALL-SAME: #[[ATTR:[0-9]*]]
# | ^
# | <stdin>:6:21: note: scanning from here
# | define void @test_() {
# | ^
# | <stdin>:11:30: note: possible intended match here
# | %3 = phi i32 [ %8, %6 ], [ 1, %0 ]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/aarch64-outline-atomics.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | 2: source_filename = "FIRModule"
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
# | 4: target triple = "aarch64-none-none"
# | 5:
# | 6: define void @test_() {
# | same:13'0 X~~ error: no match found
# | 7: %1 = alloca i32, i64 1, align 4
# | same:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: br label %2
# | same:13'0 ~~~~~~~~~~~~~
# | 9:
# | same:13'0 ~
# | 10: 2: ; preds = %6, %0
# | same:13'0 ~~~~~~~~~~~~~~~~~~~~
# | 11: %3 = phi i32 [ %8, %6 ], [ 1, %0 ]
# | same:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | same:13'1 ? possible intended match
# | 12: %4 = phi i64 [ %9, %6 ], [ 10, %0 ]
# | same:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: %5 = icmp sgt i64 %4, 0
# | same:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: br i1 %5, label %6, label %10
# | same:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15:
# | same:13'0 ~
# | 16: 6: ; preds = %2
# | same:13'0 ~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Integration/amdgpu-target-desc-cast-to-global-addrspace.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -triple amdgcn-amd-amdhsa -target-cpu gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90 -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -triple amdgcn-amd-amdhsa -target-cpu gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90 -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90:16:10: error: CHECK: expected string not found in input
# | ! CHECK: define void @maintest_() {{.*}} {
# | ^
# | <stdin>:30:95: note: scanning from here
# | @_QFmaintestEXdtXr1_t = linkonce_odr addrspace(1) constant %_QM__fortran_type_infoTderivedtype { { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 32, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 32]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8 } { ptr addrspacecast (ptr addrspace(1) @_QFmaintestEXnXr1_t to ptr), i64 4, i32 20240719, i8 0, i8 40, i8 1, i8 0 }, i64 0, { ptr, i64, i32, i8, i8, i8, i8, ptr, [1 x i64] } { ptr null, i64 440, i32 20240719, i8 0, i8 42, i8 1, i8 1, ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 8, i32 20240719, i8 1, i8 10, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 8]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 1, i32 20240719, i8 1, i8 7, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 1]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 256, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 256]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 40, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 40]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16]], ptr null, [1 x i64] zeroinitializer }, i32 0, i8 0, i8 1, i8 1, i8 1, i8 1, [3 x i8] undef }, comdat
# | ^
# | <stdin>:30:376: note: possible intended match here
# | @_QFmaintestEXdtXr1_t = linkonce_odr addrspace(1) constant %_QM__fortran_type_infoTderivedtype { { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 32, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 32]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8 } { ptr addrspacecast (ptr addrspace(1) @_QFmaintestEXnXr1_t to ptr), i64 4, i32 20240719, i8 0, i8 40, i8 1, i8 0 }, i64 0, { ptr, i64, i32, i8, i8, i8, i8, ptr, [1 x i64] } { ptr null, i64 440, i32 20240719, i8 0, i8 42, i8 1, i8 1, ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 8, i32 20240719, i8 1, i8 10, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 8]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 1, i32 20240719, i8 1, i8 7, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 1]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 256, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 256]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 40, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 40]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16]], ptr null, [1 x i64] zeroinitializer }, i32 0, i8 0, i8 1, i8 1, i8 1, i8 1, [3 x i8] undef }, comdat
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 25: $_QM__fortran_builtinsEXnX__builtin_c_ptr = comdat any
# | 26:
# | 27: $_QM__fortran_builtinsEXcX__builtin_c_ptr = comdat any
# | 28:
# | 29: @_QFmaintestEXnXr1_t = linkonce_odr addrspace(1) constant [4 x i8] c"r1_t", comdat
# | 30: @_QFmaintestEXdtXr1_t = linkonce_odr addrspace(1) constant %_QM__fortran_type_infoTderivedtype { { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 32, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 32]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8 } { ptr addrspacecast (ptr addrspace(1) @_QFmaintestEXnXr1_t to ptr), i64 4, i32 20240719, i8 0, i8 40, i8 1, i8 0 }, i64 0, { ptr, i64, i32, i8, i8, i8, i8, ptr, [1 x i64] } { ptr null, i64 440, i32 20240719, i8 0, i8 42, i8 1, i8 1, ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 8, i32 20240719, i8 1, i8 10, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 8]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 1, i32 20240719, i8 1, i8 7, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 1]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 256, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 256]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 40, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 40]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16]], ptr null, [1 x i64] zeroinitializer }, i32 0, i8 0, i8 1, i8 1, i8 1, i8 1, [3 x i8] undef }, comdat
# | check:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:16'1 ? possible intended match
# | 31: @_QM__fortran_builtinsEXdtX__builtin_c_funptr = linkonce_odr addrspace(1) constant %_QM__fortran_type_infoTderivedtype { { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 32, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 32]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8 } { ptr addrspacecast (ptr addrspace(1) @_QM__fortran_builtinsEXnX__builtin_c_funptr to ptr), i64 18, i32 20240719, i8 0, i8 40, i8 1, i8 0 }, i64 8, { ptr, i64, i32, i8, i8, i8, i8, ptr, [1 x i64] } { ptr null, i64 440, i32 20240719, i8 0, i8 42, i8 1, i8 1, ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 8, i32 20240719, i8 1, i8 10, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 8]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 1, i32 20240719, i8 1, i8 7, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 1]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr addrspacecast (ptr addrspace(1) @_QM__fortran_builtinsEXcX__builtin_c_funptr to ptr), i64 256, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 0, i64 1, i64 256]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 40, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 40]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16]], ptr null, [1 x i64] zeroinitializer }, i32 0, i8 0, i8 1, i8 1, i8 1, i8 1, [3 x i8] undef }, comdat
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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_odr addrspace(1) constant [18 x i8] c"__builtin_c_funptr", comdat
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 33: @_QM__fortran_builtinsEXcX__builtin_c_funptr = linkonce_odr addrspace(1) constant [1 x %_QM__fortran_type_infoTcomponent] [%_QM__fortran_type_infoTcomponent { { ptr, i64, i32, i8, i8, i8, i8 } { ptr addrspacecast (ptr addrspace(1) @_QM__fortran_builtinsEXnX__address to ptr), i64 9, i32 20240719, i8 0, i8 40, i8 1, i8 0 }, i8 1, i8 0, i8 8, i8 0, i8 0, [3 x i8] undef, i64 0, %_QM__fortran_type_infoTvalue { i8 1, [7 x i8] undef, i64 0 }, { ptr, i64, i32, i8, i8, i8, i8, ptr, [1 x i64] } { ptr null, i64 440, i32 20240719, i8 0, i8 42, i8 1, i8 1, ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 2, i8 42, i8 1, i8 1, [2 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16], [3 x i64] [i64 1, i64 0, i64 0]], ptr null, [1 x i64] zeroinitializer }, %_QM__fortran_builtinsT__builtin_c_ptr zeroinitializer }], comdat
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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rspace(1) constant [9 x i8] c"__address", comdat
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 35: @_QM__fortran_builtinsEXdtX__builtin_c_ptr = linkonce_odr addrspace(1) constant %_QM__fortran_type_infoTderivedtype { { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 32, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 32]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8 } { ptr addrspacecast (ptr addrspace(1) @_QM__fortran_builtinsEXnX__builtin_c_ptr to ptr), i64 15, i32 20240719, i8 0, i8 40, i8 1, i8 0 }, i64 8, { ptr, i64, i32, i8, i8, i8, i8, ptr, [1 x i64] } { ptr null, i64 440, i32 20240719, i8 0, i8 42, i8 1, i8 1, ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 8, i32 20240719, i8 1, i8 10, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 8]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 1, i32 20240719, i8 1, i8 7, i8 1, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 1]] }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr addrspacecast (ptr addrspace(1) @_QM__fortran_builtinsEXcX__builtin_c_ptr to ptr), i64 256, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 0, i64 1, i64 256]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 40, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 40]], ptr null, [1 x i64] zeroinitializer }, { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] } { ptr null, i64 16, i32 20240719, i8 1, i8 42, i8 1, i8 1, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 16]], ptr null, [1 x i64] zeroinitializer }, i32 0, i8 0, i8 1, i8 1, i8 1, i8 1, [3 x i8] undef }, comdat
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Lower/Arm/arm-sve-vector-bits-vscale-range.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple aarch64-none-linux-gnu -target-feature +sve -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90 -D#VBITS=1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple aarch64-none-linux-gnu -target-feature +sve -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90
# 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/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90 '-D#VBITS=1'
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90:18:16: error: CHECK-LABEL: expected string not found in input
# | ! CHECK-LABEL: @func_() #0
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:6:13: note: possible intended match here
# | define void @func_() {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | label:18'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | label:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
# | label:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target triple = "aarch64-none-linux-gnu"
# | label:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5:
# | label:18'0 ~
# | 6: define void @func_() {
# | label:18'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | label:18'1 ? possible intended match
# | 7: ret void
# | label:18'0 ~~~~~~~~~~
# | 8: }
# | label:18'0 ~~
# | 9:
# | label:18'0 ~
# | 10: !llvm.ident = !{!0}
# | label:18'0 ~~~~~~~~~~~~~~~~~~~~
# | 11: !llvm.module.flags = !{!1}
# | label:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Lower/RISCV/riscv-vector-bits-vscale-range.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple riscv64-none-linux-gnu -target-feature +v -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/RISCV/riscv-vector-bits-vscale-range.f90 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/RISCV/riscv-vector-bits-vscale-range.f90 -D#VBITS=2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple riscv64-none-linux-gnu -target-feature +v -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/RISCV/riscv-vector-bits-vscale-range.f90
# 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/flang/test/Lower/RISCV/riscv-vector-bits-vscale-range.f90 '-D#VBITS=2'
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/RISCV/riscv-vector-bits-vscale-range.f90:20:16: error: CHECK-LABEL: expected string not found in input
# | ! CHECK-LABEL: @func_() #0
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:6:13: note: possible intended match here
# | define void @func_() {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/RISCV/riscv-vector-bits-vscale-range.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | label:20'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | label:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128"
# | label:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target triple = "riscv64-none-linux-gnu"
# | label:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5:
# | label:20'0 ~
# | 6: define void @func_() {
# | label:20'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | label:20'1 ? possible intended match
# | 7: ret void
# | label:20'0 ~~~~~~~~~~
# | 8: }
# | label:20'0 ~~
# | 9:
# | label:20'0 ~
# | 10: !llvm.ident = !{!0}
# | label:20'0 ~~~~~~~~~~~~~~~~~~~~
# | 11: !llvm.module.flags = !{!1}
# | label:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Lower/tune-cpu-llvm.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target x86_64-linux-gnu -mtune=pentium4 -S -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/tune-cpu-llvm.f90 -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/tune-cpu-llvm.f90 --check-prefixes=ALL,CHECK-X86
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target x86_64-linux-gnu -mtune=pentium4 -S -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/tune-cpu-llvm.f90 -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/tune-cpu-llvm.f90 --check-prefixes=ALL,CHECK-X86
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/tune-cpu-llvm.f90:4:7: error: ALL: expected string not found in input
# | !ALL: attributes #{{[0-9]+}} = {
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'FIRModule'
# | ^
# | <stdin>:3:9: note: possible intended match here
# | target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/tune-cpu-llvm.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'FIRModule'
# | check:4'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "FIRModule"
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:4'1 ? possible intended match
# | 4: target triple = "x86_64-unknown-linux-gnu"
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5:
# | check:4'0 ~
# | 6: define void @a_() {
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~
# | 7: ret void
# | check:4'0 ~~~~~~~~~~
# | 8: }
# | check:4'0 ~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/188232
More information about the Mlir-commits
mailing list