github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 87877 tests passed
* 763 tests skipped
* 8 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGen/new.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/new.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.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/new.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.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/new.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# 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/new.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp:565:11:
error: CHECK: expected string not found in input
# | // CHECK: %[[NUM_ELEMENTS_MULTIPLIER:.*]] = cir.const #cir.int<6>
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:283:82:
note: scanning from here
# | %result, %overflow = cir.binop.overflow(mul, %3, %4) : !u64i, (!u64i,
!cir.bool) loc(#loc234)
# |
^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:308:2:
note: possible intended match here
# | %13 = cir.const #cir.int<1> : !s32i loc(#loc146)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 278: %1 = cir.alloca !cir.ptr<!cir.array<!cir.array<!cir.double
x 3> x 2>>, !cir.ptr<!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>>>,
["p", init] {alignment = 8 : i64} loc(#loc233)
# | 279: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc134)
# | 280: %2 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc135)
# | 281: %3 = cir.cast integral %2 : !s32i -> !u64i loc(#loc135)
# | 282: %4 = cir.const #cir.int<48> : !u64i loc(#loc234)
# | 283: %result, %overflow = cir.binop.overflow(mul, %3, %4) :
!u64i, (!u64i, !cir.bool) loc(#loc234)
# | check:565'0
X~~~~~~~~~~~~~ error: no match found
# | 284: %5 = cir.const #cir.int<18446744073709551615> : !u64i
loc(#loc234)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 285: %6 = cir.select if %overflow then %5 else %result :
(!cir.bool, !u64i, !u64i) -> !u64i loc(#loc234)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 286: %7 = cir.call @_Znam(%6) {allocsize = array<i32: 0>} :
(!u64i {llvm.noundef}) -> (!cir.ptr<!void> {llvm.noundef}) loc(#loc233)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 287: %8 = cir.cast bitcast %7 : !cir.ptr<!void> ->
!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>> loc(#loc234)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 288: cir.store align(8) %8, %1 :
!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>>,
!cir.ptr<!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>>> loc(#loc233)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 303: %9 = cir.select if %7 then %8 else %result : (!cir.bool,
!u64i, !u64i) -> !u64i loc(#loc238)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 304: %10 = cir.call @_Znam(%9) {allocsize = array<i32: 0>} :
(!u64i {llvm.noundef}) -> (!cir.ptr<!void> {llvm.noundef}) loc(#loc237)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 305: %11 = cir.cast bitcast %10 : !cir.ptr<!void> ->
!cir.ptr<!cir.double> loc(#loc238)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 306: %12 = cir.const #cir.fp<1.000000e+00> : !cir.double
loc(#loc146)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 307: cir.store align(8) %12, %11 : !cir.double,
!cir.ptr<!cir.double> loc(#loc146)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 308: %13 = cir.const #cir.int<1> : !s32i loc(#loc146)
# | check:565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:565'1 ? possible
intended match
# | 309: %14 = cir.ptr_stride %11, %13 : (!cir.ptr<!cir.double>,
!s32i) -> !cir.ptr<!cir.double> loc(#loc146)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 310: %15 = cir.const #cir.fp<2.000000e+00> : !cir.double
loc(#loc147)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 311: cir.store align(8) %15, %14 : !cir.double,
!cir.ptr<!cir.double> loc(#loc147)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 312: %16 = cir.const #cir.int<1> : !s32i loc(#loc147)
# | check:565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 313: %17 = cir.ptr_stride %14, %16 : (!cir.ptr<!cir.double>,
!s32i) -> !cir.ptr<!cir.double> loc(#loc147)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/size-of-vla.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 x86_64-unknown-linux-gnu -Wno-unused-value -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.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 x86_64-unknown-linux-gnu -Wno-unused-value -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.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/size-of-vla.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.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/size-of-vla.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp:43:9:
error: CIR: expected string not found in input
# | // CIR: %[[SIZE:.*]] = cir.mul nuw %[[CONST_4]], %3 : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir:20:36:
note: scanning from here
# | %4 = cir.const #cir.int<4> : !u64i loc(#loc14)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir:20:36:
note: with "CONST_4" equal to "4"
# | %4 = cir.const #cir.int<4> : !u64i loc(#loc14)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir:21:2:
note: possible intended match here
# | %5 = cir.mul nuw %3, %4 : !u64i loc(#loc42)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 15: %0 = cir.alloca !u64i, !cir.ptr<!u64i>, ["n", init]
{alignment = 8 : i64} loc(#loc40)
# | 16: %1 = cir.alloca !u64i, !cir.ptr<!u64i>, ["size", init]
{alignment = 8 : i64} loc(#loc41)
# | 17: %2 = cir.const #cir.int<10> : !u64i loc(#loc11)
# | 18: cir.store align(8) %2, %0 : !u64i, !cir.ptr<!u64i>
loc(#loc40)
# | 19: %3 = cir.load align(8) %0 : !cir.ptr<!u64i>, !u64i
loc(#loc14)
# | 20: %4 = cir.const #cir.int<4> : !u64i loc(#loc14)
# | check:43'0 X~~~~~~~~~~~~ error: no
match found
# | check:43'1 with
"CONST_4" equal to "4"
# | 21: %5 = cir.mul nuw %3, %4 : !u64i loc(#loc42)
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:43'2 ? possible
intended match
# | 22: cir.store align(8) %5, %1 : !u64i, !cir.ptr<!u64i>
loc(#loc41)
# | check:43'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23: cir.return loc(#loc9)
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 24: } loc(#loc39)
# | check:43'0 ~~~~~~~~~~~~~~~
# | 25: cir.func no_inline dso_local
@_Z31vla_expr_element_type_of_size_1v() {
# | check:43'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: %0 = cir.alloca !u64i, !cir.ptr<!u64i>, ["n", init]
{alignment = 8 : i64} loc(#loc44)
# | check:43'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/throws.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 -fcxx-exceptions
-fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.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 -fcxx-exceptions
-fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.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/throws.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.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/throws.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp:115:9:
error: CIR: expected string not found in input
# | // CIR: %[[CONST_1:.*]] = cir.const #cir.int<1> : !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.cpp.tmp.cir:63:7:
note: scanning from here
# | ^bb1: // no predecessors
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.cpp.tmp.cir:98:2:
note: possible intended match here
# | %1 = cir.const #cir.int<0> : !s32i loc(#loc63)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 58: %0 = cir.alloc.exception 4 -> !cir.ptr<!s32i> loc(#loc34)
# | 59: %1 = cir.const #cir.int<0> : !s32i loc(#loc34)
# | 60: cir.store align(16) %1, %0 : !s32i, !cir.ptr<!s32i>
loc(#loc35)
# | 61: cir.throw %0 : !cir.ptr<!s32i>, @_ZTIi loc(#loc74)
# | 62: cir.unreachable loc(#loc74)
# | 63: ^bb1: // no predecessors
# | check:115'0 X~~~~~~~~~~~~~~~~~~~ error: no match found
# | 64: cir.return loc(#loc33)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 65: } loc(#loc73)
# | check:115'0 ~~~~~~~~~~~~~~~
# | 66: cir.func no_inline dso_local @_Z18throw_complex_exprv() {
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 67: %0 = cir.alloc.exception 8 ->
!cir.ptr<!cir.complex<!cir.float>> loc(#loc61)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 68: %1 = cir.const #cir.const_complex<#cir.fp<1.100000e+00> :
!cir.float, #cir.fp<2.200000e+00> : !cir.float> : !cir.complex<!cir.float>
loc(#loc61)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 93: cir.throw %0 : !cir.ptr<!u32i>,
@_ZTIZ15throw_enum_exprvE4Test loc(#loc84)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 94: cir.unreachable loc(#loc84)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: } loc(#loc83)
# | check:115'0 ~~~~~~~~~~~~~~~
# | 96: cir.func no_inline dso_local @_Z21throw_enum_class_exprv()
{
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 97: %0 = cir.alloc.exception 4 -> !cir.ptr<!s32i> loc(#loc63)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 98: %1 = cir.const #cir.int<0> : !s32i loc(#loc63)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:115'1 ? possible
intended match
# | 99: cir.store align(16) %1, %0 : !s32i, !cir.ptr<!s32i>
loc(#loc59)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 100: cir.throw %0 : !cir.ptr<!s32i>,
@_ZTIZ21throw_enum_class_exprvE4Test loc(#loc86)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: cir.unreachable loc(#loc86)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: } loc(#loc85)
# | check:115'0 ~~~~~~~~~~~~~~~
# | 103: } loc(#loc)
# | check:115'0 ~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/vla.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 -Wno-error=incompatible-pointer-types -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/vla.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.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 -Wno-error=incompatible-pointer-types -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/vla.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c:346:17:
warning: incompatible pointer types initializing 'int (**)[n]' with an
expression of type 'int ***' [-Wincompatible-pointer-types]
# | 346 | (int (**)[n]){&a}[0][1][5] = 0;
# | | ^~
# | 1 warning 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/vla.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c
-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/vla.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c:65:9:
error: CIR: expected string not found in input
# | // CIR: %[[TOTAL_LEN:.*]] = cir.mul nuw %[[SIXTEEN]], %[[LEN_SIZE_T]]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:48:27:
note: scanning from here
# | cir.store align(8) %5, %1 : !cir.ptr<!u8i>, !cir.ptr<!cir.ptr<!u8i>>
loc(#loc84)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:48:27:
note: with "SIXTEEN" equal to "2"
# | cir.store align(8) %5, %1 : !cir.ptr<!u8i>, !cir.ptr<!cir.ptr<!u8i>>
loc(#loc84)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:48:27:
note: with "LEN_SIZE_T" equal to "4"
# | cir.store align(8) %5, %1 : !cir.ptr<!u8i>, !cir.ptr<!cir.ptr<!u8i>>
loc(#loc84)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:50:2:
note: possible intended match here
# | %6 = cir.mul nuw %4, %2 : !u64i loc(#loc17)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 43: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc16)
# | 44: %2 = cir.const #cir.int<16> : !u64i loc(#loc17)
# | 45: %3 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc18)
# | 46: %4 = cir.cast integral %3 : !s32i -> !u64i loc(#loc18)
# | 47: %5 = cir.stacksave : !cir.ptr<!u8i> loc(#loc84)
# | 48: cir.store align(8) %5, %1 : !cir.ptr<!u8i>,
!cir.ptr<!cir.ptr<!u8i>> loc(#loc84)
# | check:65'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:65'1
with "SIXTEEN" equal to "2"
# | check:65'2
with "LEN_SIZE_T" equal to "4"
# | 49: cir.cleanup.scope {
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~
# | 50: %6 = cir.mul nuw %4, %2 : !u64i loc(#loc17)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:65'3 ? possible
intended match
# | 51: %7 = cir.alloca !s32i, !cir.ptr<!s32i>, %6 : !u64i, ["arr"]
{alignment = 16 : i64} loc(#loc84)
# | check:65'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 52: cir.yield loc(#loc9)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 53: } cleanup normal {
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~
# | 54: %6 = cir.load align(8) %1 : !cir.ptr<!cir.ptr<!u8i>>,
!cir.ptr<!u8i> loc(#loc84)
# | check:65'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 55: cir.stackrestore %6 : !cir.ptr<!u8i> loc(#loc84)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/new.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/new.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.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/new.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.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/new.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# 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/new.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp:565:11:
error: CHECK: expected string not found in input
# | // CHECK: %[[NUM_ELEMENTS_MULTIPLIER:.*]] = cir.const #cir.int<6>
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:283:82:
note: scanning from here
# | %result, %overflow = cir.binop.overflow(mul, %3, %4) : !u64i, (!u64i,
!cir.bool) loc(#loc234)
# |
^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:308:2:
note: possible intended match here
# | %13 = cir.const #cir.int<1> : !s32i loc(#loc146)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 278: %1 = cir.alloca !cir.ptr<!cir.array<!cir.array<!cir.double
x 3> x 2>>, !cir.ptr<!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>>>,
["p", init] {alignment = 8 : i64} loc(#loc233)
# | 279: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc134)
# | 280: %2 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc135)
# | 281: %3 = cir.cast integral %2 : !s32i -> !u64i loc(#loc135)
# | 282: %4 = cir.const #cir.int<48> : !u64i loc(#loc234)
# | 283: %result, %overflow = cir.binop.overflow(mul, %3, %4) :
!u64i, (!u64i, !cir.bool) loc(#loc234)
# | check:565'0
X~~~~~~~~~~~~~ error: no match found
# | 284: %5 = cir.const #cir.int<18446744073709551615> : !u64i
loc(#loc234)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 285: %6 = cir.select if %overflow then %5 else %result :
(!cir.bool, !u64i, !u64i) -> !u64i loc(#loc234)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 286: %7 = cir.call @_Znam(%6) {allocsize = array<i32: 0>} :
(!u64i {llvm.noundef}) -> (!cir.ptr<!void> {llvm.noundef}) loc(#loc233)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 287: %8 = cir.cast bitcast %7 : !cir.ptr<!void> ->
!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>> loc(#loc234)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 288: cir.store align(8) %8, %1 :
!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>>,
!cir.ptr<!cir.ptr<!cir.array<!cir.array<!cir.double x 3> x 2>>> loc(#loc233)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 303: %9 = cir.select if %7 then %8 else %result : (!cir.bool,
!u64i, !u64i) -> !u64i loc(#loc238)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 304: %10 = cir.call @_Znam(%9) {allocsize = array<i32: 0>} :
(!u64i {llvm.noundef}) -> (!cir.ptr<!void> {llvm.noundef}) loc(#loc237)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 305: %11 = cir.cast bitcast %10 : !cir.ptr<!void> ->
!cir.ptr<!cir.double> loc(#loc238)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 306: %12 = cir.const #cir.fp<1.000000e+00> : !cir.double
loc(#loc146)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 307: cir.store align(8) %12, %11 : !cir.double,
!cir.ptr<!cir.double> loc(#loc146)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 308: %13 = cir.const #cir.int<1> : !s32i loc(#loc146)
# | check:565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:565'1 ? possible
intended match
# | 309: %14 = cir.ptr_stride %11, %13 : (!cir.ptr<!cir.double>,
!s32i) -> !cir.ptr<!cir.double> loc(#loc146)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 310: %15 = cir.const #cir.fp<2.000000e+00> : !cir.double
loc(#loc147)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 311: cir.store align(8) %15, %14 : !cir.double,
!cir.ptr<!cir.double> loc(#loc147)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 312: %16 = cir.const #cir.int<1> : !s32i loc(#loc147)
# | check:565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 313: %17 = cir.ptr_stride %14, %16 : (!cir.ptr<!cir.double>,
!s32i) -> !cir.ptr<!cir.double> loc(#loc147)
# | check:565'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/size-of-vla.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 x86_64-unknown-linux-gnu -Wno-unused-value -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.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 x86_64-unknown-linux-gnu -Wno-unused-value -fclangir
-emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.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/size-of-vla.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.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/size-of-vla.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp:43:9:
error: CIR: expected string not found in input
# | // CIR: %[[SIZE:.*]] = cir.mul nuw %[[CONST_4]], %3 : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir:20:36:
note: scanning from here
# | %4 = cir.const #cir.int<4> : !u64i loc(#loc14)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir:20:36:
note: with "CONST_4" equal to "4"
# | %4 = cir.const #cir.int<4> : !u64i loc(#loc14)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir:21:2:
note: possible intended match here
# | %5 = cir.mul nuw %3, %4 : !u64i loc(#loc42)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/size-of-vla.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/size-of-vla.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 15: %0 = cir.alloca !u64i, !cir.ptr<!u64i>, ["n", init]
{alignment = 8 : i64} loc(#loc40)
# | 16: %1 = cir.alloca !u64i, !cir.ptr<!u64i>, ["size", init]
{alignment = 8 : i64} loc(#loc41)
# | 17: %2 = cir.const #cir.int<10> : !u64i loc(#loc11)
# | 18: cir.store align(8) %2, %0 : !u64i, !cir.ptr<!u64i>
loc(#loc40)
# | 19: %3 = cir.load align(8) %0 : !cir.ptr<!u64i>, !u64i
loc(#loc14)
# | 20: %4 = cir.const #cir.int<4> : !u64i loc(#loc14)
# | check:43'0 X~~~~~~~~~~~~ error: no
match found
# | check:43'1 with
"CONST_4" equal to "4"
# | 21: %5 = cir.mul nuw %3, %4 : !u64i loc(#loc42)
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:43'2 ? possible
intended match
# | 22: cir.store align(8) %5, %1 : !u64i, !cir.ptr<!u64i>
loc(#loc41)
# | check:43'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23: cir.return loc(#loc9)
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 24: } loc(#loc39)
# | check:43'0 ~~~~~~~~~~~~~~~
# | 25: cir.func no_inline dso_local
@_Z31vla_expr_element_type_of_size_1v() {
# | check:43'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: %0 = cir.alloca !u64i, !cir.ptr<!u64i>, ["n", init]
{alignment = 8 : i64} loc(#loc44)
# | check:43'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/throws.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 -fcxx-exceptions
-fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.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 -fcxx-exceptions
-fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.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/throws.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.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/throws.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp:115:9:
error: CIR: expected string not found in input
# | // CIR: %[[CONST_1:.*]] = cir.const #cir.int<1> : !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.cpp.tmp.cir:63:7:
note: scanning from here
# | ^bb1: // no predecessors
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.cpp.tmp.cir:98:2:
note: possible intended match here
# | %1 = cir.const #cir.int<0> : !s32i loc(#loc63)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/throws.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/throws.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 58: %0 = cir.alloc.exception 4 -> !cir.ptr<!s32i> loc(#loc34)
# | 59: %1 = cir.const #cir.int<0> : !s32i loc(#loc34)
# | 60: cir.store align(16) %1, %0 : !s32i, !cir.ptr<!s32i>
loc(#loc35)
# | 61: cir.throw %0 : !cir.ptr<!s32i>, @_ZTIi loc(#loc74)
# | 62: cir.unreachable loc(#loc74)
# | 63: ^bb1: // no predecessors
# | check:115'0 X~~~~~~~~~~~~~~~~~~~ error: no match found
# | 64: cir.return loc(#loc33)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 65: } loc(#loc73)
# | check:115'0 ~~~~~~~~~~~~~~~
# | 66: cir.func no_inline dso_local @_Z18throw_complex_exprv() {
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 67: %0 = cir.alloc.exception 8 ->
!cir.ptr<!cir.complex<!cir.float>> loc(#loc61)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 68: %1 = cir.const #cir.const_complex<#cir.fp<1.100000e+00> :
!cir.float, #cir.fp<2.200000e+00> : !cir.float> : !cir.complex<!cir.float>
loc(#loc61)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 93: cir.throw %0 : !cir.ptr<!u32i>,
@_ZTIZ15throw_enum_exprvE4Test loc(#loc84)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 94: cir.unreachable loc(#loc84)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: } loc(#loc83)
# | check:115'0 ~~~~~~~~~~~~~~~
# | 96: cir.func no_inline dso_local @_Z21throw_enum_class_exprv()
{
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 97: %0 = cir.alloc.exception 4 -> !cir.ptr<!s32i> loc(#loc63)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 98: %1 = cir.const #cir.int<0> : !s32i loc(#loc63)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:115'1 ? possible
intended match
# | 99: cir.store align(16) %1, %0 : !s32i, !cir.ptr<!s32i>
loc(#loc59)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 100: cir.throw %0 : !cir.ptr<!s32i>,
@_ZTIZ21throw_enum_class_exprvE4Test loc(#loc86)
# | check:115'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: cir.unreachable loc(#loc86)
# | check:115'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: } loc(#loc85)
# | check:115'0 ~~~~~~~~~~~~~~~
# | 103: } loc(#loc)
# | check:115'0 ~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/vla.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 -Wno-error=incompatible-pointer-types -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/vla.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.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 -Wno-error=incompatible-pointer-types -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/vla.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c:346:17:
warning: incompatible pointer types initializing 'int (**)[n]' with an
expression of type 'int ***' [-Wincompatible-pointer-types]
# | 346 | (int (**)[n]){&a}[0][1][5] = 0;
# | | ^~
# | 1 warning 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/vla.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c
-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/vla.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c:65:9:
error: CIR: expected string not found in input
# | // CIR: %[[TOTAL_LEN:.*]] = cir.mul nuw %[[SIXTEEN]], %[[LEN_SIZE_T]]
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:48:27:
note: scanning from here
# | cir.store align(8) %5, %1 : !cir.ptr<!u8i>, !cir.ptr<!cir.ptr<!u8i>>
loc(#loc84)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:48:27:
note: with "SIXTEEN" equal to "2"
# | cir.store align(8) %5, %1 : !cir.ptr<!u8i>, !cir.ptr<!cir.ptr<!u8i>>
loc(#loc84)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:48:27:
note: with "LEN_SIZE_T" equal to "4"
# | cir.store align(8) %5, %1 : !cir.ptr<!u8i>, !cir.ptr<!cir.ptr<!u8i>>
loc(#loc84)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir:50:2:
note: possible intended match here
# | %6 = cir.mul nuw %4, %2 : !u64i loc(#loc17)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/vla.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/vla.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 43: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc16)
# | 44: %2 = cir.const #cir.int<16> : !u64i loc(#loc17)
# | 45: %3 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc18)
# | 46: %4 = cir.cast integral %3 : !s32i -> !u64i loc(#loc18)
# | 47: %5 = cir.stacksave : !cir.ptr<!u8i> loc(#loc84)
# | 48: cir.store align(8) %5, %1 : !cir.ptr<!u8i>,
!cir.ptr<!cir.ptr<!u8i>> loc(#loc84)
# | check:65'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:65'1
with "SIXTEEN" equal to "2"
# | check:65'2
with "LEN_SIZE_T" equal to "4"
# | 49: cir.cleanup.scope {
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~
# | 50: %6 = cir.mul nuw %4, %2 : !u64i loc(#loc17)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:65'3 ? possible
intended match
# | 51: %7 = cir.alloca !s32i, !cir.ptr<!s32i>, %6 : !u64i, ["arr"]
{alignment = 16 : i64} loc(#loc84)
# | check:65'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 52: cir.yield loc(#loc9)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 53: } cleanup normal {
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~
# | 54: %6 = cir.load align(8) %1 : !cir.ptr<!cir.ptr<!u8i>>,
!cir.ptr<!u8i> loc(#loc84)
# | check:65'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 55: cir.stackrestore %6 : !cir.ptr<!u8i> loc(#loc84)
# | check:65'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/185163
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits