github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 89381 tests passed
* 831 tests skipped
* 16 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGen/cast-cxx20.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp:46:10:
error: CIR: expected string not found in input
# | // CIR: %[[TMP_ALLOCA:.*]] = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir:23:43:
note: scanning from here
# | cir.func no_inline dso_local @_Z5cast3v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir:24:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 1>, !cir.ptr<!cir.array<!s32i x 1>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc32)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 18: cir.copy %2 to %0 : !cir.ptr<!cir.array<!s32i x 4>>
loc(#loc25)
# | 19: %3 = cir.cast bitcast %0 : !cir.ptr<!cir.array<!s32i x 4>>
-> !cir.ptr<!cir.array<!s32i x 0>> loc(#loc25)
# | 20: cir.store align(8) %3, %1 : !cir.ptr<!cir.array<!s32i x
0>>, !cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>> loc(#loc12)
# | 21: cir.return loc(#loc10)
# | 22: } loc(#loc29)
# | 23: cir.func no_inline dso_local @_Z5cast3v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:46'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 24: %0 = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc32)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:46'1 ?
possible
intended match
# | 25: %1 = cir.alloca !cir.ptr<!cir.array<!s32i x 0>>,
!cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>>, ["toArr", init, const] {alignment =
8 : i64} loc(#loc33)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: %2 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 1>> -> !cir.ptr<!s32i> loc(#loc32)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: %3 = cir.const #cir.int<3> : !s32i loc(#loc18)
# | check:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc18)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %4 = cir.cast bitcast %0 : !cir.ptr<!cir.array<!s32i x 1>>
-> !cir.ptr<!cir.array<!s32i x 0>> loc(#loc32)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/initializer-list-two-pointers.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp:19:9:
error: CIR: expected string not found in input
# | // CIR: %[[ARR_ADDR:.*]] = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir:1:1:
note: scanning from here
# | !s32i = !cir.int<s, 32>
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir:7:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 3>, !cir.ptr<!cir.array<!s32i x 3>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc12)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: !s32i = !cir.int<s, 32>
# | check:19'0 X~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !s64i = !cir.int<s, 64>
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: !u64i = !cir.int<u, 64>
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: !rec_std3A3Ainitializer_list3Cint3E = !cir.record<class
"std::initializer_list<int>" {!cir.ptr<!s32i>, !cir.ptr<!s32i>}>
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp"
attributes {cir.lang = #cir.lang<cxx>, cir.module_asm = [], cir.record_layouts
= {"std::initializer_list<int>" = #cir.record_layout<arg_passing_kind =
can_pass_in_regs, has_trivial_dtor = true, record_align = 8>}, cir.triple =
"x86_64-unknown-linux-gnu", dlti.dl_spec = #dlti.dl_spec<!llvm.ptr<270> =
dense<32> : vector<4xi64>, !llvm.ptr<271> = dense<32> : vector<4xi64>,
!llvm.ptr<272> = dense<64> : vector<4xi64>, i64 = dense<64> : vector<2xi64>,
i128 = dense<128> : vector<2xi64>, f80 = dense<128> : vector<2xi64>, !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>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> :
vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little",
"dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 8, 16, 32,
64>, "dlti.stack_alignment" = 128 : i64>} {
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: cir.func no_inline dso_local
@_Z40initalizer_list_with_two_pointers_layoutv() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: %0 = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc12)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:19'1 ?
possible
intended match
# | 8: %1 = cir.alloca !rec_std3A3Ainitializer_list3Cint3E,
!cir.ptr<!rec_std3A3Ainitializer_list3Cint3E>, ["a", init] {alignment = 8 :
i64} loc(#loc13)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: %2 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 3>> -> !cir.ptr<!s32i> loc(#loc12)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: %3 = cir.const #cir.int<10> : !s32i loc(#loc6)
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc6)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: %4 = cir.const #cir.int<1> : !s64i loc(#loc12)
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/instantiate-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp:29:9:
error: CIR: expected string not found in input
# | // CIR: %[[INIT_LIST_ADDR:.*]] = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir:12:114:
note: scanning from here
# | %1 = cir.alloca !rec_std3A3Ainitializer_list3Cint3E,
!cir.ptr<!rec_std3A3Ainitializer_list3Cint3E>, ["agg.tmp0"] {alignment = 8 :
i64} loc(#loc20)
# |
^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir:13:2:
note: possible intended match here
# | %2 = cir.alloca !cir.array<!s32i x 3>, !cir.ptr<!cir.array<!s32i x 3>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc20)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 7: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp"
attributes {cir.lang = #cir.lang<cxx>, cir.module_asm = [], cir.record_layouts
= {Vector = #cir.record_layout<arg_passing_kind = cannot_pass_in_regs,
has_trivial_dtor = false, record_align = 1>, "std::initializer_list<int>" =
#cir.record_layout<arg_passing_kind = can_pass_in_regs, has_trivial_dtor =
true, record_align = 8>}, cir.triple = "x86_64-unknown-linux-gnu", dlti.dl_spec
= #dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>, !llvm.ptr<271> =
dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> : vector<4xi64>, i64 =
dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, f80 = dense<128>
: vector<2xi64>, !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>, f16 = dense<16> : vector<2xi64>, f64 =
dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness"
= "little", "dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 8,
16, 32, 64>, "dlti.stack_alignment" = 128 : i64>} {
# | 8: cir.func private
@_ZN6VectorC1ESt16initializer_listIiE(!cir.ptr<!rec_Vector> {llvm.align = 1 :
i64, llvm.dereferenceable = 1 : i64, llvm.nonnull, llvm.noundef},
!rec_std3A3Ainitializer_list3Cint3E) special_member<#cir.cxx_ctor<!rec_Vector,
custom>> loc(#loc16)
# | 9: cir.func private @_ZN6VectorD1Ev(!cir.ptr<!rec_Vector>
{llvm.align = 1 : i64, llvm.dereferenceable = 1 : i64, llvm.nonnull,
llvm.noundef}) special_member<#cir.cxx_dtor<!rec_Vector>> attributes {nothrow}
loc(#loc17)
# | 10: cir.func no_inline dso_local
@_Z30init_vec_using_initalizer_listv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | 11: %0 = cir.alloca !rec_Vector, !cir.ptr<!rec_Vector>, ["vec",
init] {alignment = 1 : i64} loc(#loc19)
# | 12: %1 = cir.alloca !rec_std3A3Ainitializer_list3Cint3E,
!cir.ptr<!rec_std3A3Ainitializer_list3Cint3E>, ["agg.tmp0"] {alignment = 8 :
i64} loc(#loc20)
# | check:29'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 13: %2 = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc20)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:29'1 ?
possible
intended match
# | 14: %3 = cir.cast array_to_ptrdecay %2 :
!cir.ptr<!cir.array<!s32i x 3>> -> !cir.ptr<!s32i> loc(#loc20)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: %4 = cir.const #cir.int<0> : !s32i loc(#loc10)
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: cir.store align(4) %4, %3 : !s32i, !cir.ptr<!s32i>
loc(#loc10)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: %5 = cir.const #cir.int<1> : !s64i loc(#loc20)
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: %6 = cir.ptr_stride %3, %5 : (!cir.ptr<!s32i>, !s64i) ->
!cir.ptr<!s32i> loc(#loc20)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/paren-list-agg-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:129:16:
warning: implicit conversion from 'double' to 'char' changes value from 3.1 to
3 [-Wliteral-conversion]
# | 129 | constexpr A a1(3.1, 2.0);
# | | ~^~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:613:5:
warning: expression result unused [-Wunused-value]
# | 613 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:643:5:
warning: expression result unused [-Wunused-value]
# | 643 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:697:5:
warning: expression result unused [-Wunused-value]
# | 697 | I(0, 1);
# | | ^~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:721:5:
warning: expression result unused [-Wunused-value]
# | 721 | I(0, foo20());
# | | ^~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:741:5:
warning: expression result unused [-Wunused-value]
# | 741 | I(0, static_cast<int&&>(i));
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:764:5:
warning: expression result unused [-Wunused-value]
# | 764 | I(0);
# | | ^~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:613:5:
warning: expression result unused [-Wunused-value]
# | 613 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:647:5:
note: in instantiation of function template specialization 'gh61145::make1<0>'
requested here
# | 647 | make1<0>();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:643:5:
warning: expression result unused [-Wunused-value]
# | 643 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:648:5:
note: in instantiation of function template specialization 'gh61145::make2<0>'
requested here
# | 648 | make2<0>();
# | | ^
# | 9 warnings generated.
# `-----------------------------
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:495:9:
error: CIR: expected string not found in input
# | // CIR: %[[TEMP_ALLOCA:.*]] = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0"] {alignment = 4 : i64}
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:262:43:
note: scanning from here
# | cir.func no_inline dso_local @_Z5foo16v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:263:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 1>, !cir.ptr<!cir.array<!s32i x 1>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc318)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:518:9:
error: CIR: expected string not found in input
# | // CIR: %[[ARR_TEMP:.*]] = cir.alloca !cir.array<!s32i x 2>,
!cir.ptr<!cir.array<!s32i x 2>>, ["ref.tmp0"] {alignment = 4 : i64}
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:272:43:
note: scanning from here
# | cir.func no_inline dso_local @_Z5foo17v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:273:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 2>, !cir.ptr<!cir.array<!s32i x 2>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc321)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 257: %2 = cir.cast array_to_ptrdecay %1 :
!cir.ptr<!cir.array<!s32i x 2>> -> !cir.ptr<!s32i> loc(#loc129)
# | 258: cir.store %2, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc316)
# | 259: %3 = cir.load %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc316)
# | 260: cir.return %3 : !cir.ptr<!s32i> loc(#loc316)
# | 261: } loc(#loc315)
# | 262: cir.func no_inline dso_local @_Z5foo16v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:495'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 263: %0 = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:495'1 ?
possible
intended match
# | 264: %1 = cir.alloca !cir.ptr<!cir.array<!s32i x 0>>,
!cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>>, ["arr6", init, const] {alignment = 8
: i64} loc(#loc319)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 265: %2 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 1>> -> !cir.ptr<!s32i> loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 266: %3 = cir.const #cir.int<3> : !s32i loc(#loc136)
# | check:495'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 267: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc136)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 268: %4 = cir.cast bitcast %0 : !cir.ptr<!cir.array<!s32i x 1>>
-> !cir.ptr<!cir.array<!s32i x 0>> loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 269: cir.store align(8) %4, %1 : !cir.ptr<!cir.array<!s32i x
0>>, !cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>> loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 270: cir.return loc(#loc132)
# | check:495'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 271: } loc(#loc317)
# | check:495'0 ~~~~~~~~~~~~~~~~
# | 272: cir.func no_inline dso_local @_Z5foo17v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:495'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:518'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 273: %0 = cir.alloca !cir.array<!s32i x 2>,
!cir.ptr<!cir.array<!s32i x 2>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc321)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:518'1 ?
possible
intended match
# | 274: %1 = cir.alloca !cir.ptr<!cir.array<!s32i x 2>>,
!cir.ptr<!cir.ptr<!cir.array<!s32i x 2>>>, ["arr7", init, const] {alignment = 8
: i64} loc(#loc322)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 275: %2 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["arrayinit.temp", init] {alignment = 8 : i64}
loc(#loc321)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 276: %3 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 2>> -> !cir.ptr<!s32i> loc(#loc321)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 277: %4 = cir.const #cir.int<4> : !s32i loc(#loc142)
# | check:518'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 278: cir.store align(4) %4, %3 : !s32i, !cir.ptr<!s32i>
loc(#loc142)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/union-agg-init.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple x86_64-unknown-linux-gnu -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple x86_64-unknown-linux-gnu -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c:56:10:
error: CIR: expected string not found in input
# | // CIR: %[[RET_ALLOCA:.*]] = cir.alloca !rec_outer, !cir.ptr<!rec_outer>,
["__retval"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir:26:50:
note: scanning from here
# | cir.func no_inline no_proto dso_local @ret_outer() -> !rec_outer
attributes {"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir:27:2:
note: possible intended match here
# | %0 = cir.alloca !rec_outer, !cir.ptr<!rec_outer>, ["__retval", init]
{alignment = 8 : i64} loc(#loc12)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 21: %7 = cir.const #cir.fp<0.000000e+00> : !cir.double
loc(#loc18)
# | 22: cir.store align(8) %7, %6 : !cir.double,
!cir.ptr<!cir.double> loc(#loc18)
# | 23: %8 = cir.load %0 : !cir.ptr<!rec_vec3>, !rec_vec3
loc(#loc19)
# | 24: cir.return %8 : !rec_vec3 loc(#loc19)
# | 25: } loc(#loc17)
# | 26: cir.func no_inline no_proto dso_local @ret_outer() ->
!rec_outer attributes {"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87",
nothrow} {
# | check:56'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 27: %0 = cir.alloca !rec_outer, !cir.ptr<!rec_outer>,
["__retval", init] {alignment = 8 : i64} loc(#loc12)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:56'1 ?
possible intended match
# | 28: %1 = cir.cast bitcast %0 : !cir.ptr<!rec_outer> ->
!cir.ptr<!rec_anon_struct1> loc(#loc12)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %2 = cir.const #cir.const_record<{#cir.zero :
!rec_anon_struct, #cir.int<1> : !s32i, #cir.const_array<[#cir.zero : !u8i,
#cir.zero : !u8i, #cir.zero : !u8i, #cir.zero : !u8i]> : !cir.array<!u8i x 4>}>
: !rec_anon_struct1 loc(#loc21)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: cir.store align(8) %2, %1 : !rec_anon_struct1,
!cir.ptr<!rec_anon_struct1> loc(#loc21)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 31: %3 = cir.load %0 : !cir.ptr<!rec_outer>, !rec_outer
loc(#loc22)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 32: cir.return %3 : !rec_outer loc(#loc22)
# | check:56'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenHLSL/matrix-element-expr-load.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -x hlsl -finclude-default-header -triple
spirv-unknown-vulkan-compute
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHLSL/matrix-element-expr-load.hlsl
-fclangir -emit-cir -disable-llvm-passes -verify
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -x hlsl -finclude-default-header -triple
spirv-unknown-vulkan-compute
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHLSL/matrix-element-expr-load.hlsl
-fclangir -emit-cir -disable-llvm-passes -verify
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | (frontend): ClangIR code gen Not Yet Implemented: Matrix type conversion
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -fopenacc -triple x86_64-linux-gnu
-Wno-openacc-self-if-potential-conflict -emit-cir -fclangir -std=c23 -triple
x86_64-linux-pc
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -fopenacc -triple x86_64-linux-gnu
-Wno-openacc-self-if-potential-conflict -emit-cir -fclangir -std=c23 -triple
x86_64-linux-pc
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c:26:16:
error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: %[[ALLOCA:.*]] = cir.alloca !rec_DefaultOperators,
!cir.ptr<!rec_DefaultOperators>, ["openacc.reduction.init"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir:41:185:
note: scanning from here
# | ^bb0(%arg0: !cir.ptr<!rec_DefaultOperators>
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c":23:34)):
# |
^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir:42:2:
note: possible intended match here
# | %0 = cir.alloca !rec_DefaultOperators, !cir.ptr<!rec_DefaultOperators>,
["openacc.reduction.init", init] {alignment = 8 : i64} loc(#loc1)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 36: !rec_DefaultOperatorsNoFloats = !cir.record<struct
"DefaultOperatorsNoFloats" {!s32i, !u32i, !cir.bool}>
# | 37: !rec_anon_struct = !cir.record<struct {!s32i, !u32i,
!cir.float, !cir.array<!u8i x 4>, !cir.double, !cir.bool, !cir.array<!u8i x
7>}>
# | 38: !rec_anon_struct1 = !cir.record<struct {!s32i, !u32i,
!cir.bool, !cir.array<!u8i x 3>}>
# | 39: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c"
attributes {cir.lang = #cir.lang<c>, cir.module_asm = [], cir.record_layouts =
{DefaultOperators = #cir.record_layout<arg_passing_kind = can_pass_in_regs,
has_trivial_dtor = true, record_align = 8>, DefaultOperatorsNoFloats =
#cir.record_layout<arg_passing_kind = can_pass_in_regs, has_trivial_dtor =
true, record_align = 4>}, cir.triple = "x86_64-pc-linux", dlti.dl_spec =
#dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>, !llvm.ptr<271> =
dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> : vector<4xi64>, i64 =
dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, f80 = dense<128>
: vector<2xi64>, !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>, f16 = dense<16> : vector<2xi64>, f64 =
dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness"
= "little", "dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 8,
16, 32, 64>, "dlti.stack_alignment" = 128 : i64>} {
# | 40: acc.reduction.recipe @reduction_add__ZTS16DefaultOperators :
!cir.ptr<!rec_DefaultOperators> reduction_operator <add> init {
# | 41: ^bb0(%arg0: !cir.ptr<!rec_DefaultOperators>
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c":23:34)):
# | next:26'0
X~ error: no match found
# | 42: %0 = cir.alloca !rec_DefaultOperators,
!cir.ptr<!rec_DefaultOperators>, ["openacc.reduction.init", init] {alignment =
8 : i64} loc(#loc1)
# | next:26'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:26'1 ?
possible intended match
# | 43: %1 = cir.cast bitcast %0 : !cir.ptr<!rec_DefaultOperators>
-> !cir.ptr<!rec_anon_struct> loc(#loc1)
# | next:26'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 44: %2 = cir.const #cir.zero : !rec_anon_struct loc(#loc1)
# | next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: cir.store align(8) %2, %1 : !rec_anon_struct,
!cir.ptr<!rec_anon_struct> loc(#loc1)
# | next:26'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 46: acc.yield loc(#loc1)
# | next:26'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 47: } combiner {
# | next:26'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenOpenMP/emit-device-functions.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple amdgcn-amd-amdhsa -fopenmp -fopenmp-is-target-device
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenMP/emit-device-functions.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenMP/Output/emit-device-functions.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple amdgcn-amd-amdhsa -fopenmp -fopenmp-is-target-device
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenMP/emit-device-functions.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenMP/Output/emit-device-functions.cpp.tmp.cir
# .---command stderr------------
# | error: ClangIR code gen Not Yet Implemented: SYCL or OpenMP temp address
space
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/cast-cxx20.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp:46:10:
error: CIR: expected string not found in input
# | // CIR: %[[TMP_ALLOCA:.*]] = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir:23:43:
note: scanning from here
# | cir.func no_inline dso_local @_Z5cast3v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir:24:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 1>, !cir.ptr<!cir.array<!s32i x 1>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc32)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/cast-cxx20.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/cast-cxx20.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 18: cir.copy %2 to %0 : !cir.ptr<!cir.array<!s32i x 4>>
loc(#loc25)
# | 19: %3 = cir.cast bitcast %0 : !cir.ptr<!cir.array<!s32i x 4>>
-> !cir.ptr<!cir.array<!s32i x 0>> loc(#loc25)
# | 20: cir.store align(8) %3, %1 : !cir.ptr<!cir.array<!s32i x
0>>, !cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>> loc(#loc12)
# | 21: cir.return loc(#loc10)
# | 22: } loc(#loc29)
# | 23: cir.func no_inline dso_local @_Z5cast3v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:46'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 24: %0 = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc32)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:46'1 ?
possible
intended match
# | 25: %1 = cir.alloca !cir.ptr<!cir.array<!s32i x 0>>,
!cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>>, ["toArr", init, const] {alignment =
8 : i64} loc(#loc33)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: %2 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 1>> -> !cir.ptr<!s32i> loc(#loc32)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: %3 = cir.const #cir.int<3> : !s32i loc(#loc18)
# | check:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc18)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %4 = cir.cast bitcast %0 : !cir.ptr<!cir.array<!s32i x 1>>
-> !cir.ptr<!cir.array<!s32i x 0>> loc(#loc32)
# | check:46'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/initializer-list-two-pointers.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp:19:9:
error: CIR: expected string not found in input
# | // CIR: %[[ARR_ADDR:.*]] = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir:1:1:
note: scanning from here
# | !s32i = !cir.int<s, 32>
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir:7:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 3>, !cir.ptr<!cir.array<!s32i x 3>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc12)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/initializer-list-two-pointers.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: !s32i = !cir.int<s, 32>
# | check:19'0 X~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: !s64i = !cir.int<s, 64>
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: !u64i = !cir.int<u, 64>
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: !rec_std3A3Ainitializer_list3Cint3E = !cir.record<class
"std::initializer_list<int>" {!cir.ptr<!s32i>, !cir.ptr<!s32i>}>
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/initializer-list-two-pointers.cpp"
attributes {cir.lang = #cir.lang<cxx>, cir.module_asm = [], cir.record_layouts
= {"std::initializer_list<int>" = #cir.record_layout<arg_passing_kind =
can_pass_in_regs, has_trivial_dtor = true, record_align = 8>}, cir.triple =
"x86_64-unknown-linux-gnu", dlti.dl_spec = #dlti.dl_spec<!llvm.ptr<270> =
dense<32> : vector<4xi64>, !llvm.ptr<271> = dense<32> : vector<4xi64>,
!llvm.ptr<272> = dense<64> : vector<4xi64>, i64 = dense<64> : vector<2xi64>,
i128 = dense<128> : vector<2xi64>, f80 = dense<128> : vector<2xi64>, !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>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> :
vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little",
"dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 8, 16, 32,
64>, "dlti.stack_alignment" = 128 : i64>} {
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: cir.func no_inline dso_local
@_Z40initalizer_list_with_two_pointers_layoutv() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: %0 = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc12)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:19'1 ?
possible
intended match
# | 8: %1 = cir.alloca !rec_std3A3Ainitializer_list3Cint3E,
!cir.ptr<!rec_std3A3Ainitializer_list3Cint3E>, ["a", init] {alignment = 8 :
i64} loc(#loc13)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: %2 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 3>> -> !cir.ptr<!s32i> loc(#loc12)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: %3 = cir.const #cir.int<10> : !s32i loc(#loc6)
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc6)
# | check:19'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: %4 = cir.const #cir.int<1> : !s64i loc(#loc12)
# | check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/instantiate-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp:29:9:
error: CIR: expected string not found in input
# | // CIR: %[[INIT_LIST_ADDR:.*]] = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir:12:114:
note: scanning from here
# | %1 = cir.alloca !rec_std3A3Ainitializer_list3Cint3E,
!cir.ptr<!rec_std3A3Ainitializer_list3Cint3E>, ["agg.tmp0"] {alignment = 8 :
i64} loc(#loc20)
# |
^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir:13:2:
note: possible intended match here
# | %2 = cir.alloca !cir.array<!s32i x 3>, !cir.ptr<!cir.array<!s32i x 3>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc20)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/instantiate-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 7: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/instantiate-init.cpp"
attributes {cir.lang = #cir.lang<cxx>, cir.module_asm = [], cir.record_layouts
= {Vector = #cir.record_layout<arg_passing_kind = cannot_pass_in_regs,
has_trivial_dtor = false, record_align = 1>, "std::initializer_list<int>" =
#cir.record_layout<arg_passing_kind = can_pass_in_regs, has_trivial_dtor =
true, record_align = 8>}, cir.triple = "x86_64-unknown-linux-gnu", dlti.dl_spec
= #dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>, !llvm.ptr<271> =
dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> : vector<4xi64>, i64 =
dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, f80 = dense<128>
: vector<2xi64>, !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>, f16 = dense<16> : vector<2xi64>, f64 =
dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness"
= "little", "dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 8,
16, 32, 64>, "dlti.stack_alignment" = 128 : i64>} {
# | 8: cir.func private
@_ZN6VectorC1ESt16initializer_listIiE(!cir.ptr<!rec_Vector> {llvm.align = 1 :
i64, llvm.dereferenceable = 1 : i64, llvm.nonnull, llvm.noundef},
!rec_std3A3Ainitializer_list3Cint3E) special_member<#cir.cxx_ctor<!rec_Vector,
custom>> loc(#loc16)
# | 9: cir.func private @_ZN6VectorD1Ev(!cir.ptr<!rec_Vector>
{llvm.align = 1 : i64, llvm.dereferenceable = 1 : i64, llvm.nonnull,
llvm.noundef}) special_member<#cir.cxx_dtor<!rec_Vector>> attributes {nothrow}
loc(#loc17)
# | 10: cir.func no_inline dso_local
@_Z30init_vec_using_initalizer_listv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | 11: %0 = cir.alloca !rec_Vector, !cir.ptr<!rec_Vector>, ["vec",
init] {alignment = 1 : i64} loc(#loc19)
# | 12: %1 = cir.alloca !rec_std3A3Ainitializer_list3Cint3E,
!cir.ptr<!rec_std3A3Ainitializer_list3Cint3E>, ["agg.tmp0"] {alignment = 8 :
i64} loc(#loc20)
# | check:29'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 13: %2 = cir.alloca !cir.array<!s32i x 3>,
!cir.ptr<!cir.array<!s32i x 3>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc20)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:29'1 ?
possible
intended match
# | 14: %3 = cir.cast array_to_ptrdecay %2 :
!cir.ptr<!cir.array<!s32i x 3>> -> !cir.ptr<!s32i> loc(#loc20)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: %4 = cir.const #cir.int<0> : !s32i loc(#loc10)
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: cir.store align(4) %4, %3 : !s32i, !cir.ptr<!s32i>
loc(#loc10)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: %5 = cir.const #cir.int<1> : !s64i loc(#loc20)
# | check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: %6 = cir.ptr_stride %3, %5 : (!cir.ptr<!s32i>, !s64i) ->
!cir.ptr<!s32i> loc(#loc20)
# | check:29'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/paren-list-agg-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:129:16:
warning: implicit conversion from 'double' to 'char' changes value from 3.1 to
3 [-Wliteral-conversion]
# | 129 | constexpr A a1(3.1, 2.0);
# | | ~^~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:613:5:
warning: expression result unused [-Wunused-value]
# | 613 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:643:5:
warning: expression result unused [-Wunused-value]
# | 643 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:697:5:
warning: expression result unused [-Wunused-value]
# | 697 | I(0, 1);
# | | ^~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:721:5:
warning: expression result unused [-Wunused-value]
# | 721 | I(0, foo20());
# | | ^~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:741:5:
warning: expression result unused [-Wunused-value]
# | 741 | I(0, static_cast<int&&>(i));
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:764:5:
warning: expression result unused [-Wunused-value]
# | 764 | I(0);
# | | ^~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:613:5:
warning: expression result unused [-Wunused-value]
# | 613 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:647:5:
note: in instantiation of function template specialization 'gh61145::make1<0>'
requested here
# | 647 | make1<0>();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:643:5:
warning: expression result unused [-Wunused-value]
# | 643 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:648:5:
note: in instantiation of function template specialization 'gh61145::make2<0>'
requested here
# | 648 | make2<0>();
# | | ^
# | 9 warnings generated.
# `-----------------------------
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:495:9:
error: CIR: expected string not found in input
# | // CIR: %[[TEMP_ALLOCA:.*]] = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0"] {alignment = 4 : i64}
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:262:43:
note: scanning from here
# | cir.func no_inline dso_local @_Z5foo16v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:263:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 1>, !cir.ptr<!cir.array<!s32i x 1>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc318)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:518:9:
error: CIR: expected string not found in input
# | // CIR: %[[ARR_TEMP:.*]] = cir.alloca !cir.array<!s32i x 2>,
!cir.ptr<!cir.array<!s32i x 2>>, ["ref.tmp0"] {alignment = 4 : i64}
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:272:43:
note: scanning from here
# | cir.func no_inline dso_local @_Z5foo17v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:273:2:
note: possible intended match here
# | %0 = cir.alloca !cir.array<!s32i x 2>, !cir.ptr<!cir.array<!s32i x 2>>,
["ref.tmp0", init] {alignment = 4 : i64} loc(#loc321)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 257: %2 = cir.cast array_to_ptrdecay %1 :
!cir.ptr<!cir.array<!s32i x 2>> -> !cir.ptr<!s32i> loc(#loc129)
# | 258: cir.store %2, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc316)
# | 259: %3 = cir.load %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc316)
# | 260: cir.return %3 : !cir.ptr<!s32i> loc(#loc316)
# | 261: } loc(#loc315)
# | 262: cir.func no_inline dso_local @_Z5foo16v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:495'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 263: %0 = cir.alloca !cir.array<!s32i x 1>,
!cir.ptr<!cir.array<!s32i x 1>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:495'1 ?
possible
intended match
# | 264: %1 = cir.alloca !cir.ptr<!cir.array<!s32i x 0>>,
!cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>>, ["arr6", init, const] {alignment = 8
: i64} loc(#loc319)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 265: %2 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 1>> -> !cir.ptr<!s32i> loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 266: %3 = cir.const #cir.int<3> : !s32i loc(#loc136)
# | check:495'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 267: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc136)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 268: %4 = cir.cast bitcast %0 : !cir.ptr<!cir.array<!s32i x 1>>
-> !cir.ptr<!cir.array<!s32i x 0>> loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 269: cir.store align(8) %4, %1 : !cir.ptr<!cir.array<!s32i x
0>>, !cir.ptr<!cir.ptr<!cir.array<!s32i x 0>>> loc(#loc318)
# | check:495'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 270: cir.return loc(#loc132)
# | check:495'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 271: } loc(#loc317)
# | check:495'0 ~~~~~~~~~~~~~~~~
# | 272: cir.func no_inline dso_local @_Z5foo17v() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:495'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:518'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 273: %0 = cir.alloca !cir.array<!s32i x 2>,
!cir.ptr<!cir.array<!s32i x 2>>, ["ref.tmp0", init] {alignment = 4 : i64}
loc(#loc321)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:518'1 ?
possible
intended match
# | 274: %1 = cir.alloca !cir.ptr<!cir.array<!s32i x 2>>,
!cir.ptr<!cir.ptr<!cir.array<!s32i x 2>>>, ["arr7", init, const] {alignment = 8
: i64} loc(#loc322)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 275: %2 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["arrayinit.temp", init] {alignment = 8 : i64}
loc(#loc321)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 276: %3 = cir.cast array_to_ptrdecay %0 :
!cir.ptr<!cir.array<!s32i x 2>> -> !cir.ptr<!s32i> loc(#loc321)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 277: %4 = cir.const #cir.int<4> : !s32i loc(#loc142)
# | check:518'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 278: cir.store align(4) %4, %3 : !s32i, !cir.ptr<!s32i>
loc(#loc142)
# | check:518'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/union-agg-init.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple x86_64-unknown-linux-gnu -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple x86_64-unknown-linux-gnu -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c:56:10:
error: CIR: expected string not found in input
# | // CIR: %[[RET_ALLOCA:.*]] = cir.alloca !rec_outer, !cir.ptr<!rec_outer>,
["__retval"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir:26:50:
note: scanning from here
# | cir.func no_inline no_proto dso_local @ret_outer() -> !rec_outer
attributes {"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir:27:2:
note: possible intended match here
# | %0 = cir.alloca !rec_outer, !cir.ptr<!rec_outer>, ["__retval", init]
{alignment = 8 : i64} loc(#loc12)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/union-agg-init.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/union-agg-init.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 21: %7 = cir.const #cir.fp<0.000000e+00> : !cir.double
loc(#loc18)
# | 22: cir.store align(8) %7, %6 : !cir.double,
!cir.ptr<!cir.double> loc(#loc18)
# | 23: %8 = cir.load %0 : !cir.ptr<!rec_vec3>, !rec_vec3
loc(#loc19)
# | 24: cir.return %8 : !rec_vec3 loc(#loc19)
# | 25: } loc(#loc17)
# | 26: cir.func no_inline no_proto dso_local @ret_outer() ->
!rec_outer attributes {"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87",
nothrow} {
# | check:56'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# | 27: %0 = cir.alloca !rec_outer, !cir.ptr<!rec_outer>,
["__retval", init] {alignment = 8 : i64} loc(#loc12)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:56'1 ?
possible intended match
# | 28: %1 = cir.cast bitcast %0 : !cir.ptr<!rec_outer> ->
!cir.ptr<!rec_anon_struct1> loc(#loc12)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %2 = cir.const #cir.const_record<{#cir.zero :
!rec_anon_struct, #cir.int<1> : !s32i, #cir.const_array<[#cir.zero : !u8i,
#cir.zero : !u8i, #cir.zero : !u8i, #cir.zero : !u8i]> : !cir.array<!u8i x 4>}>
: !rec_anon_struct1 loc(#loc21)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: cir.store align(8) %2, %1 : !rec_anon_struct1,
!cir.ptr<!rec_anon_struct1> loc(#loc21)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 31: %3 = cir.load %0 : !cir.ptr<!rec_outer>, !rec_outer
loc(#loc22)
# | check:56'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 32: cir.return %3 : !rec_outer loc(#loc22)
# | check:56'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenHLSL/matrix-element-expr-load.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -x hlsl -finclude-default-header -triple
spirv-unknown-vulkan-compute
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHLSL/matrix-element-expr-load.hlsl
-fclangir -emit-cir -disable-llvm-passes -verify
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -x hlsl -finclude-default-header -triple
spirv-unknown-vulkan-compute
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHLSL/matrix-element-expr-load.hlsl
-fclangir -emit-cir -disable-llvm-passes -verify
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | (frontend): ClangIR code gen Not Yet Implemented: Matrix type conversion
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -fopenacc -triple x86_64-linux-gnu
-Wno-openacc-self-if-potential-conflict -emit-cir -fclangir -std=c23 -triple
x86_64-linux-pc
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -fopenacc -triple x86_64-linux-gnu
-Wno-openacc-self-if-potential-conflict -emit-cir -fclangir -std=c23 -triple
x86_64-linux-pc
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c:26:16:
error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: %[[ALLOCA:.*]] = cir.alloca !rec_DefaultOperators,
!cir.ptr<!rec_DefaultOperators>, ["openacc.reduction.init"]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir:41:185:
note: scanning from here
# | ^bb0(%arg0: !cir.ptr<!rec_DefaultOperators>
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c":23:34)):
# |
^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir:42:2:
note: possible intended match here
# | %0 = cir.alloca !rec_DefaultOperators, !cir.ptr<!rec_DefaultOperators>,
["openacc.reduction.init", init] {alignment = 8 : i64} loc(#loc1)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenACC/Output/compute-reduction-clause-default-ops.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 36: !rec_DefaultOperatorsNoFloats = !cir.record<struct
"DefaultOperatorsNoFloats" {!s32i, !u32i, !cir.bool}>
# | 37: !rec_anon_struct = !cir.record<struct {!s32i, !u32i,
!cir.float, !cir.array<!u8i x 4>, !cir.double, !cir.bool, !cir.array<!u8i x
7>}>
# | 38: !rec_anon_struct1 = !cir.record<struct {!s32i, !u32i,
!cir.bool, !cir.array<!u8i x 3>}>
# | 39: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c"
attributes {cir.lang = #cir.lang<c>, cir.module_asm = [], cir.record_layouts =
{DefaultOperators = #cir.record_layout<arg_passing_kind = can_pass_in_regs,
has_trivial_dtor = true, record_align = 8>, DefaultOperatorsNoFloats =
#cir.record_layout<arg_passing_kind = can_pass_in_regs, has_trivial_dtor =
true, record_align = 4>}, cir.triple = "x86_64-pc-linux", dlti.dl_spec =
#dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>, !llvm.ptr<271> =
dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> : vector<4xi64>, i64 =
dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, f80 = dense<128>
: vector<2xi64>, !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>, f16 = dense<16> : vector<2xi64>, f64 =
dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness"
= "little", "dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 8,
16, 32, 64>, "dlti.stack_alignment" = 128 : i64>} {
# | 40: acc.reduction.recipe @reduction_add__ZTS16DefaultOperators :
!cir.ptr<!rec_DefaultOperators> reduction_operator <add> init {
# | 41: ^bb0(%arg0: !cir.ptr<!rec_DefaultOperators>
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-default-ops.c":23:34)):
# | next:26'0
X~ error: no match found
# | 42: %0 = cir.alloca !rec_DefaultOperators,
!cir.ptr<!rec_DefaultOperators>, ["openacc.reduction.init", init] {alignment =
8 : i64} loc(#loc1)
# | next:26'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:26'1 ?
possible intended match
# | 43: %1 = cir.cast bitcast %0 : !cir.ptr<!rec_DefaultOperators>
-> !cir.ptr<!rec_anon_struct> loc(#loc1)
# | next:26'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 44: %2 = cir.const #cir.zero : !rec_anon_struct loc(#loc1)
# | next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: cir.store align(8) %2, %1 : !rec_anon_struct,
!cir.ptr<!rec_anon_struct> loc(#loc1)
# | next:26'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 46: acc.yield loc(#loc1)
# | next:26'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 47: } combiner {
# | next:26'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenOpenMP/emit-device-functions.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple amdgcn-amd-amdhsa -fopenmp -fopenmp-is-target-device
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenMP/emit-device-functions.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenMP/Output/emit-device-functions.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include
-nostdsysteminc -triple amdgcn-amd-amdhsa -fopenmp -fopenmp-is-target-device
-fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenOpenMP/emit-device-functions.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenOpenMP/Output/emit-device-functions.cpp.tmp.cir
# .---command stderr------------
# | error: ClangIR code gen Not Yet Implemented: SYCL or OpenMP temp address
space
# | 1 error generated.
# `-----------------------------
# 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/196868
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits