[clang] [CIR] Split CIR_UnaryOp into individual operations (PR #185179)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 7 04:33:44 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 87878 tests passed
* 759 tests skipped
* 8 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGen/binop.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++11 -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/binop.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.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++11 -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/binop.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.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/binop.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.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/binop.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.cpp -check-prefix=CIR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.cpp:137:9: error: CIR: expected string not found in input
# | // CIR: cir.mul %{{.+}}, %{{.+}} : !cir.float
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.cpp.tmp.cir:110:62: note: scanning from here
# | cir.func no_inline dso_local @_Z23testFloatingPointBinOpsff(%arg0: !cir.float {llvm.noundef} loc(fused[#loc34, #loc35]), %arg1: !cir.float {llvm.noundef} loc(fused[#loc36, #loc37])) {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.cpp.tmp.cir:120:3: note: possible intended match here
# | %7 = cir.sub %5, %6 : !cir.float loc(#loc175)
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.cpp.tmp.cir
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 105: %25 = cir.load align(4) %1 : !cir.ptr<!s32i>, !s32i loc(#loc30)
# | 106: %26 = cir.or %24, %25 : !s32i loc(#loc169)
# | 107: cir.store align(4) %26, %2 : !s32i, !cir.ptr<!s32i> loc(#loc170)
# | 108: cir.return loc(#loc2)
# | 109: } loc(#loc152)
# | 110: cir.func no_inline dso_local @_Z23testFloatingPointBinOpsff(%arg0: !cir.float {llvm.noundef} loc(fused[#loc34, #loc35]), %arg1: !cir.float {llvm.noundef} loc(fused[#loc36, #loc37])) {
# | check:137'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 111: %0 = cir.alloca !cir.float, !cir.ptr<!cir.float>, ["a", init] {alignment = 4 : i64} loc(#loc172)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 112: %1 = cir.alloca !cir.float, !cir.ptr<!cir.float>, ["b", init] {alignment = 4 : i64} loc(#loc173)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 113: cir.store %arg0, %0 : !cir.float, !cir.ptr<!cir.float> loc(#loc38)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 114: cir.store %arg1, %1 : !cir.float, !cir.ptr<!cir.float> loc(#loc38)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 115: %2 = cir.load align(4) %0 : !cir.ptr<!cir.float>, !cir.float loc(#loc39)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 116: %3 = cir.load align(4) %1 : !cir.ptr<!cir.float>, !cir.float loc(#loc40)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 117: %4 = cir.div %2, %3 : !cir.float loc(#loc174)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 118: %5 = cir.load align(4) %0 : !cir.ptr<!cir.float>, !cir.float loc(#loc41)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 119: %6 = cir.load align(4) %1 : !cir.ptr<!cir.float>, !cir.float loc(#loc42)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 120: %7 = cir.sub %5, %6 : !cir.float loc(#loc175)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:137'1 ? possible intended match
# | 121: cir.return loc(#loc33)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 122: } loc(#loc171)
# | check:137'0 ~~~~~~~~~~~~~~~~
# | 123: cir.func no_inline dso_local @_Z12signed_shiftii(%arg0: !s32i {llvm.noundef} loc(fused[#loc45, #loc46]), %arg1: !s32i {llvm.noundef} loc(fused[#loc47, #loc48])) {
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 124: %0 = cir.alloca !s32i, !cir.ptr<!s32i>, ["a", init] {alignment = 4 : i64} loc(#loc177)
# | 125: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["b", init] {alignment = 4 : i64} loc(#loc178)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/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/binop.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++11 -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/binop.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.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++11 -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/binop.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.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/binop.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.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/binop.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.cpp -check-prefix=CIR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.cpp:137:9: error: CIR: expected string not found in input
# | // CIR: cir.mul %{{.+}}, %{{.+}} : !cir.float
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.cpp.tmp.cir:110:62: note: scanning from here
# | cir.func no_inline dso_local @_Z23testFloatingPointBinOpsff(%arg0: !cir.float {llvm.noundef} loc(fused[#loc34, #loc35]), %arg1: !cir.float {llvm.noundef} loc(fused[#loc36, #loc37])) {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.cpp.tmp.cir:120:3: note: possible intended match here
# | %7 = cir.sub %5, %6 : !cir.float loc(#loc175)
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/binop.cpp.tmp.cir
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/binop.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 105: %25 = cir.load align(4) %1 : !cir.ptr<!s32i>, !s32i loc(#loc30)
# | 106: %26 = cir.or %24, %25 : !s32i loc(#loc169)
# | 107: cir.store align(4) %26, %2 : !s32i, !cir.ptr<!s32i> loc(#loc170)
# | 108: cir.return loc(#loc2)
# | 109: } loc(#loc152)
# | 110: cir.func no_inline dso_local @_Z23testFloatingPointBinOpsff(%arg0: !cir.float {llvm.noundef} loc(fused[#loc34, #loc35]), %arg1: !cir.float {llvm.noundef} loc(fused[#loc36, #loc37])) {
# | check:137'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 111: %0 = cir.alloca !cir.float, !cir.ptr<!cir.float>, ["a", init] {alignment = 4 : i64} loc(#loc172)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 112: %1 = cir.alloca !cir.float, !cir.ptr<!cir.float>, ["b", init] {alignment = 4 : i64} loc(#loc173)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 113: cir.store %arg0, %0 : !cir.float, !cir.ptr<!cir.float> loc(#loc38)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 114: cir.store %arg1, %1 : !cir.float, !cir.ptr<!cir.float> loc(#loc38)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 115: %2 = cir.load align(4) %0 : !cir.ptr<!cir.float>, !cir.float loc(#loc39)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 116: %3 = cir.load align(4) %1 : !cir.ptr<!cir.float>, !cir.float loc(#loc40)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 117: %4 = cir.div %2, %3 : !cir.float loc(#loc174)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 118: %5 = cir.load align(4) %0 : !cir.ptr<!cir.float>, !cir.float loc(#loc41)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 119: %6 = cir.load align(4) %1 : !cir.ptr<!cir.float>, !cir.float loc(#loc42)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 120: %7 = cir.sub %5, %6 : !cir.float loc(#loc175)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:137'1 ? possible intended match
# | 121: cir.return loc(#loc33)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 122: } loc(#loc171)
# | check:137'0 ~~~~~~~~~~~~~~~~
# | 123: cir.func no_inline dso_local @_Z12signed_shiftii(%arg0: !s32i {llvm.noundef} loc(fused[#loc45, #loc46]), %arg1: !s32i {llvm.noundef} loc(fused[#loc47, #loc48])) {
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 124: %0 = cir.alloca !s32i, !cir.ptr<!s32i>, ["a", init] {alignment = 4 : i64} loc(#loc177)
# | 125: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["b", init] {alignment = 4 : i64} loc(#loc178)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/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.CodeGen/AArch64/neon/fullfp16.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/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 arm64-none-linux-gnu -target-feature +fullfp16 -disable-O0-optnone -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c --check-prefixes=ALL,LLVM
# 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 arm64-none-linux-gnu -target-feature +fullfp16 -disable-O0-optnone -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c --check-prefixes=ALL,LLVM
# note: command had no output on stdout or stderr
# RUN: at line 4
/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 arm64-none-linux-gnu -target-feature +fullfp16 -disable-O0-optnone -fclangir -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,simplifycfg | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c --check-prefixes=ALL,LLVM
# 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 arm64-none-linux-gnu -target-feature +fullfp16 -disable-O0-optnone -fclangir -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,simplifycfg
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c --check-prefixes=ALL,LLVM
# note: command had no output on stdout or stderr
# RUN: at line 5
/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 arm64-none-linux-gnu -target-feature +fullfp16 -disable-O0-optnone -fclangir -emit-cir -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c --check-prefixes=ALL,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 arm64-none-linux-gnu -target-feature +fullfp16 -disable-O0-optnone -fclangir -emit-cir -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c --check-prefixes=ALL,CIR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c:45:9: error: CIR: expected string not found in input
# | // CIR: cir.unary(minus, {{.*}}) : !cir.f16
# | ^
# | <stdin>:50:46: note: scanning from here
# | cir.func no_inline dso_local @test_vnegh_f16(%arg0: !cir.f16 {llvm.noundef} loc(fused[#loc11, #loc12])) -> !cir.f16 {
# | ^
# | <stdin>:60:2: note: possible intended match here
# | cir.store align(2) %8, %6 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc13)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c:65:9: error: CIR: expected string not found in input
# | // CIR: [[SUB:%.*]] = cir.unary(minus, %{{.*}}) : !cir.f16, !cir.f16
# | ^
# | <stdin>:110:46: note: scanning from here
# | cir.func no_inline dso_local @test_vfmsh_f16(%arg0: !cir.f16 {llvm.noundef} loc(fused[#loc31, #loc32]), %arg1: !cir.f16 {llvm.noundef} loc(fused[#loc33, #loc34]), %arg2: !cir.f16 {llvm.noundef} loc(fused[#loc35, #loc36])) -> !cir.f16 {
# | ^
# | <stdin>:134:2: note: possible intended match here
# | %18 = cir.minus %16 : !cir.f16 loc(#loc37)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/fullfp16.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 45: %3 = cir.load align(2) %2 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc5)
# | 46: cir.store %3, %1 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc43)
# | 47: %4 = cir.load %1 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc43)
# | 48: cir.return %4 : !cir.f16 loc(#loc43)
# | 49: } loc(#loc41)
# | 50: cir.func no_inline dso_local @test_vnegh_f16(%arg0: !cir.f16 {llvm.noundef} loc(fused[#loc11, #loc12])) -> !cir.f16 {
# | check:45'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 51: %0 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["a", init] {alignment = 2 : i64} loc(#loc45)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 52: %1 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["__retval"] {alignment = 2 : i64} loc(#loc10)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 53: %2 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["tmp"] {alignment = 2 : i64} loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 54: cir.store %arg0, %0 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc14)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 55: cir.scope {
# | check:45'0 ~~~~~~~~~~~~~
# | 56: %5 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["__ret"] {alignment = 2 : i64} loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 57: %6 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["__s0", init] {alignment = 2 : i64} loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 58: %7 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["ref.tmp0"] {alignment = 2 : i64} loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 59: %8 = cir.load align(2) %0 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 60: cir.store align(2) %8, %6 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:45'1 ? possible intended match
# | 61: %9 = cir.load align(2) %6 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 62: %10 = cir.minus %9 : !cir.f16 loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 63: cir.store align(2) %10, %7 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc15)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 64: %11 = cir.load align(2) %7 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 65: cir.store align(2) %11, %5 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc13)
# | check:45'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 105: %5 = cir.load align(2) %4 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc25)
# | 106: cir.store %5, %3 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc51)
# | 107: %6 = cir.load %3 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc51)
# | 108: cir.return %6 : !cir.f16 loc(#loc51)
# | 109: } loc(#loc47)
# | 110: cir.func no_inline dso_local @test_vfmsh_f16(%arg0: !cir.f16 {llvm.noundef} loc(fused[#loc31, #loc32]), %arg1: !cir.f16 {llvm.noundef} loc(fused[#loc33, #loc34]), %arg2: !cir.f16 {llvm.noundef} loc(fused[#loc35, #loc36])) -> !cir.f16 {
# | check:65'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 111: %0 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["a", init] {alignment = 2 : i64} loc(#loc53)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 112: %1 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["b", init] {alignment = 2 : i64} loc(#loc54)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 113: %2 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["c", init] {alignment = 2 : i64} loc(#loc55)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 114: %3 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["__retval"] {alignment = 2 : i64} loc(#loc30)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 115: %4 = cir.alloca !cir.f16, !cir.ptr<!cir.f16>, ["tmp"] {alignment = 2 : i64} loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 129: %14 = cir.load align(2) %2 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 130: cir.store align(2) %14, %10 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 131: %15 = cir.load align(2) %8 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 132: %16 = cir.load align(2) %9 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 133: %17 = cir.load align(2) %10 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 134: %18 = cir.minus %16 : !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:65'1 ? possible intended match
# | 135: %19 = cir.call_llvm_intrinsic "fma" %18, %17, %15 : (!cir.f16, !cir.f16, !cir.f16) -> !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 136: cir.store align(2) %19, %11 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc39)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 137: %20 = cir.load align(2) %11 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 138: cir.store align(2) %20, %7 : !cir.f16, !cir.ptr<!cir.f16> loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 139: %21 = cir.load align(2) %7 : !cir.ptr<!cir.f16>, !cir.f16 loc(#loc37)
# | check:65'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGen/AArch64/neon/intrinsics.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/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 arm64-none-linux-gnu -target-feature +neon -disable-O0-optnone -flax-vector-conversions=none -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c --check-prefixes=LLVM
# 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 arm64-none-linux-gnu -target-feature +neon -disable-O0-optnone -flax-vector-conversions=none -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c --check-prefixes=LLVM
# note: command had no output on stdout or stderr
# RUN: at line 4
/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 arm64-none-linux-gnu -target-feature +neon -disable-O0-optnone -flax-vector-conversions=none -fclangir -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c --check-prefixes=LLVM
# 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 arm64-none-linux-gnu -target-feature +neon -disable-O0-optnone -flax-vector-conversions=none -fclangir -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c --check-prefixes=LLVM
# note: command had no output on stdout or stderr
# RUN: at line 5
/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 arm64-none-linux-gnu -target-feature +neon -disable-O0-optnone -flax-vector-conversions=none -fclangir -emit-cir -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c --check-prefixes=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 arm64-none-linux-gnu -target-feature +neon -disable-O0-optnone -flax-vector-conversions=none -fclangir -emit-cir -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c --check-prefixes=CIR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c:30:9: error: CIR: expected string not found in input
# | // CIR: cir.unary(minus, {{.*}}) : !s64
# | ^
# | <stdin>:574:62: note: scanning from here
# | cir.func always_inline internal private dso_local @vnegd_s64(%arg0: !s64i {llvm.noundef} loc(fused[#loc3, #loc4])) -> !s64i {
# | ^
# | <stdin>:579:2: note: possible intended match here
# | cir.store %arg0, %0 : !s64i, !cir.ptr<!s64i> loc(#loc9)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 569: #loc2111 = loc(fused[#loc1527, #loc1528])
# | 570: #loc2117 = loc(fused[#loc1542, #loc1543])
# | 571: #loc2118 = loc(fused[#loc1544, #loc1545])
# | 572: #loc2119 = loc(fused[#loc1546, #loc1547])
# | 573: module @"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon/intrinsics.c" attributes {cir.lang = #cir.lang<c>, cir.module_asm = [], cir.triple = "arm64-none-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>, i8 = dense<[8, 32]> : vector<2xi64>, i16 = dense<[16, 32]> : vector<2xi64>, i64 = dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, !llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : 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: 32, 64>, "dlti.stack_alignment" = 128 : i64, "dlti.function_pointer_alignment" = #dlti.function_pointer_alignment<32, function_dependent = true>>} {
# | 574: cir.func always_inline internal private dso_local @vnegd_s64(%arg0: !s64i {llvm.noundef} loc(fused[#loc3, #loc4])) -> !s64i {
# | check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 575: %0 = cir.alloca !s64i, !cir.ptr<!s64i>, ["__p0", init] {alignment = 8 : i64} loc(#loc1556)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 576: %1 = cir.alloca !s64i, !cir.ptr<!s64i>, ["__retval"] {alignment = 8 : i64} loc(#loc2)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 577: %2 = cir.alloca !s64i, !cir.ptr<!s64i>, ["__ret"] {alignment = 8 : i64} loc(#loc1557)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 578: %3 = cir.alloca !s64i, !cir.ptr<!s64i>, ["ref.tmp0"] {alignment = 8 : i64} loc(#loc1558)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 579: cir.store %arg0, %0 : !s64i, !cir.ptr<!s64i> loc(#loc9)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:30'1 ? possible intended match
# | 580: %4 = cir.load align(8) %0 : !cir.ptr<!s64i>, !s64i loc(#loc10)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 581: %5 = cir.minus %4 : !s64i loc(#loc10)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 582: cir.store align(8) %5, %3 : !s64i, !cir.ptr<!s64i> loc(#loc11)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 583: %6 = cir.load align(8) %3 : !cir.ptr<!s64i>, !s64i loc(#loc12)
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 584: cir.store align(8) %6, %2 : !s64i, !cir.ptr<!s64i> loc(#loc1559)
# | check:30'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/185179
More information about the cfe-commits
mailing list