github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 93144 tests passed
* 820 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/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir -mmlir --mlir-print-ir-before=cir-lowering-prepare
/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
2>
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp-before.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/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir -mmlir --mlir-print-ir-before=cir-lowering-prepare
/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
--check-prefixes=CIR-BEFORE-LPP
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp-before.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
--check-prefixes=CIR-BEFORE-LPP
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp-before.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/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:431:11:
error: CHECK: expected string not found in input
# | // CHECK: %[[INIT_SIZE:.*]] = cir.const #cir.int<12> : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:232:76:
note: scanning from here
# | %12 = cir.ptr_stride %9, %11 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc91)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:232:76:
note: pattern attempts to capture variables: "INIT_SIZE"
# | %12 = cir.ptr_stride %9, %11 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc91)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:233:2:
note: possible intended match here
# | %13 = cir.const #cir.int<52> : !u64i loc(#loc281)
# | ^
# |
# | 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:
# | <<<<<<
# | .
# | .
# | .
# | 227: %8 = cir.const #cir.int<1> : !s32i loc(#loc90)
# | 228: %9 = cir.ptr_stride %6, %8 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc90)
# | 229: %10 = cir.const #cir.int<3> : !s32i loc(#loc91)
# | 230: cir.store align(4) %10, %9 : !s32i, !cir.ptr<!s32i>
loc(#loc91)
# | 231: %11 = cir.const #cir.int<1> : !s32i loc(#loc91)
# | 232: %12 = cir.ptr_stride %9, %11 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc91)
# | check:431'0
{ search range start (exclusive)
# | check:431'1
error: no match found in search range
# | check:431'2
pattern attempts to capture variables: "INIT_SIZE"
# | 233: %13 = cir.const #cir.int<52> : !u64i loc(#loc281)
# | check:431'3 ?
possible intended match
# | 234: %14 = cir.cast bitcast %12 : !cir.ptr<!s32i> ->
!cir.ptr<!void> loc(#loc91)
# | 235: %15 = cir.const #cir.int<0> : !u8i loc(#loc281)
# | 236: cir.libc.memset %13 bytes at %14 align(4) to %15 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc281)
# | 237: cir.store align(8) %3, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc280)
# | 238: cir.return loc(#loc85)
# | .
# | .
# | .
# | 467: cir.store %arg0, %0 : !cir.ptr<!rec_OuterZero>,
!cir.ptr<!cir.ptr<!rec_OuterZero>> loc(#loc192)
# | 468: %1 = cir.load %0 : !cir.ptr<!cir.ptr<!rec_OuterZero>>,
!cir.ptr<!rec_OuterZero> loc(#loc191)
# | 469: cir.call @_ZN9OuterZeroC2Ev(%1) :
(!cir.ptr<!rec_OuterZero> {llvm.align = 1 : i64, llvm.dereferenceable = 1 :
i64, llvm.nonnull, llvm.noundef}) -> () loc(#loc192)
# | 470: cir.return loc(#loc192)
# | 471: } loc(#loc325)
# | 472: cir.func no_inline dso_local
@_Z29test_var_array_new_value_initi(%arg0: !s32i {llvm.noundef}
loc(fused[#loc195, #loc196])) attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:431'4
}
search range end
(exclusive)
# | 473: %0 = cir.alloca "n" align(4) init : !cir.ptr<!s32i>
loc(#loc327)
# | 474: %1 = cir.alloca "p" align(8) init :
!cir.ptr<!cir.ptr<!rec_OuterZero>> loc(#loc328)
# | 475: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc199)
# | 476: %2 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc200)
# | 477: %3 = cir.cast integral %2 : !s32i -> !u64i loc(#loc200)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/non-type-template-param.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/24/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/non-type-template-param.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.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/24/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/non-type-template-param.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.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/non-type-template-param.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.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/non-type-template-param.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp:14: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/non-type-template-param.cpp.tmp.cir:8:53:
note: scanning from here
# | %0 = cir.alloca "a" align(4) init : !cir.ptr<!s32i> loc(#loc11)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.cpp.tmp.cir:8:53:
note: pattern attempts to capture variables: "CONST_1"
# | %0 = cir.alloca "a" align(4) init : !cir.ptr<!s32i> loc(#loc11)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.cpp.tmp.cir:9:2:
note: possible intended match here
# | %1 = cir.const #cir.int<6> : !s32i loc(#loc12)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: !s32i = !cir.int<s, 32>
# | 2: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp"
attributes {cir.default_tls_model = #cir.tls_model<tls_dyn>, cir.lang =
#cir.lang<cxx>, cir.module_asm = [], cir.triple = "x86_64-unknown-linux-gnu",
dlti.dl_spec = #dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>,
!llvm.ptr<271> = dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> :
vector<4xi64>, i64 = dense<64> : vector<2xi64>, i128 = dense<128> :
vector<2xi64>, f80 = dense<128> : vector<2xi64>, !llvm.ptr = dense<64> :
vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>,
i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 =
dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> :
vector<2xi64>, "dlti.endianness" = "little", "dlti.mangling_mode" = "e",
"dlti.legal_int_widths" = array<i32: 8, 16, 32, 64>, "dlti.stack_alignment" =
128 : i64, !cir.ptr<!cir.void> = #cir.ptr_spec<size = 64, abi = 64, preferred =
64, index = 64>>} {
# | 3: cir.func no_inline dso_local @_Z3foov() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | 4: cir.call @_Z12template_fooILi1EEvv() : () -> () loc(#loc3)
# | 5: cir.return loc(#loc2)
# | 6: } loc(#loc9)
# | 7: cir.func no_inline comdat linkonce_odr
@_Z12template_fooILi1EEvv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | 8: %0 = cir.alloca "a" align(4) init : !cir.ptr<!s32i>
loc(#loc11)
# | check:14'0 {
search range start (exclusive)
# | check:14'1
error: no match found in search range
# | check:14'2
pattern attempts to capture variables: "CONST_1"
# | 9: %1 = cir.const #cir.int<6> : !s32i loc(#loc12)
# | check:14'3 ? possible
intended match
# | 10: cir.store align(4) %1, %0 : !s32i, !cir.ptr<!s32i>
loc(#loc11)
# | 11: cir.return loc(#loc5)
# | 12: } loc(#loc10)
# | 13: } loc(#loc)
# | 14: #loc =
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp":0:0)
# | .
# | .
# | .
# | 21: #loc7 =
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp":10:15)
# | 22: #loc8 =
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp":10:11)
# | 23: #loc9 = loc(fused[#loc1, #loc2])
# | 24: #loc10 = loc(fused[#loc4, #loc5])
# | 25: #loc11 = loc(fused[#loc6, #loc7])
# | 26: #loc12 = loc(fused[#loc8, #loc7])
# | check:14'4 } search range end
(exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/paren-list-agg-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 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/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-fno-clangir-call-conv-lowering -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-fno-clangir-call-conv-lowering -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:134:16:
warning: implicit conversion from 'double' to 'char' changes value from 3.1 to
3 [-Wliteral-conversion]
# | 134 | constexpr A a1(3.1, 2.0);
# | | ~^~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:617:5:
warning: expression result unused [-Wunused-value]
# | 617 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:647:5:
warning: expression result unused [-Wunused-value]
# | 647 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:701:5:
warning: expression result unused [-Wunused-value]
# | 701 | I(0, 1);
# | | ^~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:725:5:
warning: expression result unused [-Wunused-value]
# | 725 | I(0, foo20());
# | | ^~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:745:5:
warning: expression result unused [-Wunused-value]
# | 745 | I(0, static_cast<int&&>(i));
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:768:5:
warning: expression result unused [-Wunused-value]
# | 768 | I(0);
# | | ^~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:617:5:
warning: expression result unused [-Wunused-value]
# | 617 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:651:5:
note: in instantiation of function template specialization 'gh61145::make1<0>'
requested here
# | 651 | make1<0>();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:647:5:
warning: expression result unused [-Wunused-value]
# | 647 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:652:5:
note: in instantiation of function template specialization 'gh61145::make2<0>'
requested here
# | 652 | make2<0>();
# | | ^
# | 9 warnings generated.
# `-----------------------------
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:879:10:
error: CIR: expected string not found in input
# | // CIR: %[[ALLOC_DIFF:.*]] = cir.sub %[[SIZE]], %[[INIT_SIZE]] : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: scanning from here
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: with "SIZE" equal to "1"
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: with "INIT_SIZE" equal to "18"
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: pattern attempts to capture variables: "ALLOC_DIFF"
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:512:2:
note: possible intended match here
# | %21 = cir.cast bitcast %3 : !cir.ptr<!cir.array<!s32i x 2>> ->
!cir.ptr<!void> loc(#loc374)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 503: %14 = cir.ptr_stride %11, %13 : (!cir.ptr<!s32i>, !s64i)
-> !cir.ptr<!s32i> loc(#loc376)
# | 504: %15 = cir.const #cir.int<8> : !s32i loc(#loc262)
# | 505: cir.store align(4) %15, %14 : !s32i, !cir.ptr<!s32i>
loc(#loc262)
# | 506: %16 = cir.const #cir.int<1> : !s32i loc(#loc259)
# | 507: %17 = cir.ptr_stride %10, %16 : (!cir.ptr<!cir.array<!s32i
x 2>>, !s32i) -> !cir.ptr<!cir.array<!s32i x 2>> loc(#loc259)
# | 508: %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | check:879'0 { search
range start (exclusive)
# | check:879'1 error:
no match found in search range
# | check:879'2 with
"SIZE" equal to "1"
# | check:879'3 with
"INIT_SIZE" equal to "18"
# | check:879'4
pattern attempts to capture variables: "ALLOC_DIFF"
# | 509: %19 = cir.cast bitcast %17 : !cir.ptr<!cir.array<!s32i x
2>> -> !cir.ptr<!void> loc(#loc259)
# | 510: %20 = cir.const #cir.int<0> : !u8i loc(#loc374)
# | 511: cir.libc.memset %18 bytes at %19 align(4) to %20 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc374)
# | 512: %21 = cir.cast bitcast %3 : !cir.ptr<!cir.array<!s32i x
2>> -> !cir.ptr<!void> loc(#loc374)
# | check:879'5 ?
possible intended match
# | 513: cir.store align(8) %21, %0 : !cir.ptr<!void>,
!cir.ptr<!cir.ptr<!void>> loc(#loc373)
# | 514: cir.return loc(#loc251)
# | 515: } loc(#loc372)
# | 516: cir.func no_inline dso_local
@_ZN12base_cleanup12base_cleanupEv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:879'6
}
search range end (exclusive)
# | 517: %0 = cir.alloca "x" align(4) init :
!cir.ptr<!rec_base_cleanup3A3ADerived> loc(#loc378)
# | 518: %1 = cir.base_class_addr %0 :
!cir.ptr<!rec_base_cleanup3A3ADerived> nonnull [0] ->
!cir.ptr<!rec_base_cleanup3A3ABase> loc(#loc379)
# | 519: %2 = cir.get_member %1[0] {name = "b"} :
!cir.ptr<!rec_base_cleanup3A3ABase> -> !cir.ptr<!s32i> loc(#loc268)
# | 520: %3 = cir.const #cir.int<1> : !s32i loc(#loc269)
# | 521: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc269)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenCXX/new-array-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/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/CodeGenCXX/new-array-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/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/CodeGenCXX/new-array-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp:205:10:
error: CIR: expected string not found in input
# | // CIR: %[[INIT_SIZE:.*]] = cir.const #cir.int<12> : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:149:76:
note: scanning from here
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc51)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:149:76:
note: pattern attempts to capture variables: "INIT_SIZE"
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc51)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:150:2:
note: possible intended match here
# | %12 = cir.const #cir.int<4> : !u64i loc(#loc183)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp:242:10:
error: CIR: expected string not found in input
# | // CIR: %[[INIT_SIZE:.*]] = cir.const #cir.int<12> : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:171:76:
note: scanning from here
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc59)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:171:76:
note: pattern attempts to capture variables: "INIT_SIZE"
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc59)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:172:2:
note: possible intended match here
# | %12 = cir.const #cir.int<4> : !u64i loc(#loc185)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 144: %7 = cir.const #cir.int<1> : !s32i loc(#loc50)
# | 145: %8 = cir.ptr_stride %5, %7 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc50)
# | 146: %9 = cir.const #cir.int<3> : !s32i loc(#loc51)
# | 147: cir.store align(4) %9, %8 : !s32i, !cir.ptr<!s32i>
loc(#loc51)
# | 148: %10 = cir.const #cir.int<1> : !s32i loc(#loc51)
# | 149: %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc51)
# | check:205'0
{ search range start (exclusive)
# | check:205'1
error: no match found in search range
# | check:205'2
pattern attempts to capture variables: "INIT_SIZE"
# | 150: %12 = cir.const #cir.int<4> : !u64i loc(#loc183)
# | check:205'3 ?
possible intended match
# | 151: %13 = cir.cast bitcast %11 : !cir.ptr<!s32i> ->
!cir.ptr<!void> loc(#loc51)
# | 152: %14 = cir.const #cir.int<0> : !u8i loc(#loc183)
# | 153: cir.libc.memset %12 bytes at %13 align(4) to %14 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc183)
# | 154: cir.return loc(#loc45)
# | 155: } loc(#loc182)
# | 156: cir.func no_inline dso_local
@_Z22const_sufficient_parenv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:205'4
}
search range end (exclusive)
# | 157: %0 = cir.const #cir.int<16> : !u64i loc(#loc185)
# | 158: %1 = cir.call @_Znam(%0) {allocsize = array<i32: 0>,
builtin} : (!u64i {llvm.noundef}) -> (!cir.ptr<!void> {llvm.nonnull,
llvm.noundef}) loc(#loc56)
# | 159: %2 = cir.cast bitcast %1 : !cir.ptr<!void> ->
!cir.ptr<!s32i> loc(#loc185)
# | 160: %3 = cir.const #cir.int<1> : !s32i loc(#loc57)
# | 161: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc57)
# | .
# | .
# | .
# | 166: %7 = cir.const #cir.int<1> : !s32i loc(#loc58)
# | 167: %8 = cir.ptr_stride %5, %7 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc58)
# | 168: %9 = cir.const #cir.int<3> : !s32i loc(#loc59)
# | 169: cir.store align(4) %9, %8 : !s32i, !cir.ptr<!s32i>
loc(#loc59)
# | 170: %10 = cir.const #cir.int<1> : !s32i loc(#loc59)
# | 171: %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc59)
# | check:242'0
{ search range start (exclusive)
# | check:242'1
error: no match found in search range
# | check:242'2
pattern attempts to capture variables: "INIT_SIZE"
# | 172: %12 = cir.const #cir.int<4> : !u64i loc(#loc185)
# | check:242'3 ?
possible intended match
# | 173: %13 = cir.cast bitcast %11 : !cir.ptr<!s32i> ->
!cir.ptr<!void> loc(#loc59)
# | 174: %14 = cir.const #cir.int<0> : !u8i loc(#loc185)
# | 175: cir.libc.memset %12 bytes at %13 align(4) to %14 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc185)
# | 176: cir.return loc(#loc53)
# | 177: } loc(#loc184)
# | 178: cir.func no_inline dso_local @_Z15string_nonconsti(%arg0:
!s32i {llvm.noundef} loc(fused[#loc62, #loc63])) attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:242'4 }
search range end (exclusive)
# | 179: %0 = cir.alloca "n" align(4) init : !cir.ptr<!s32i>
loc(#loc187)
# | 180: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc64)
# | 181: %1 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc65)
# | 182: %2 = cir.cast integral %1 : !s32i -> !u64i loc(#loc65)
# | 183: %3 = cir.const #cir.int<4> : !u64i loc(#loc188)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir -mmlir --mlir-print-ir-before=cir-lowering-prepare
/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
2>
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp-before.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/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir -mmlir --mlir-print-ir-before=cir-lowering-prepare
/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
--check-prefixes=CIR-BEFORE-LPP
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp-before.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
--check-prefixes=CIR-BEFORE-LPP
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp-before.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/new.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/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:431:11:
error: CHECK: expected string not found in input
# | // CHECK: %[[INIT_SIZE:.*]] = cir.const #cir.int<12> : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:232:76:
note: scanning from here
# | %12 = cir.ptr_stride %9, %11 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc91)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:232:76:
note: pattern attempts to capture variables: "INIT_SIZE"
# | %12 = cir.ptr_stride %9, %11 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc91)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/new.cpp.tmp.cir:233:2:
note: possible intended match here
# | %13 = cir.const #cir.int<52> : !u64i loc(#loc281)
# | ^
# |
# | 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:
# | <<<<<<
# | .
# | .
# | .
# | 227: %8 = cir.const #cir.int<1> : !s32i loc(#loc90)
# | 228: %9 = cir.ptr_stride %6, %8 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc90)
# | 229: %10 = cir.const #cir.int<3> : !s32i loc(#loc91)
# | 230: cir.store align(4) %10, %9 : !s32i, !cir.ptr<!s32i>
loc(#loc91)
# | 231: %11 = cir.const #cir.int<1> : !s32i loc(#loc91)
# | 232: %12 = cir.ptr_stride %9, %11 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc91)
# | check:431'0
{ search range start (exclusive)
# | check:431'1
error: no match found in search range
# | check:431'2
pattern attempts to capture variables: "INIT_SIZE"
# | 233: %13 = cir.const #cir.int<52> : !u64i loc(#loc281)
# | check:431'3 ?
possible intended match
# | 234: %14 = cir.cast bitcast %12 : !cir.ptr<!s32i> ->
!cir.ptr<!void> loc(#loc91)
# | 235: %15 = cir.const #cir.int<0> : !u8i loc(#loc281)
# | 236: cir.libc.memset %13 bytes at %14 align(4) to %15 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc281)
# | 237: cir.store align(8) %3, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc280)
# | 238: cir.return loc(#loc85)
# | .
# | .
# | .
# | 467: cir.store %arg0, %0 : !cir.ptr<!rec_OuterZero>,
!cir.ptr<!cir.ptr<!rec_OuterZero>> loc(#loc192)
# | 468: %1 = cir.load %0 : !cir.ptr<!cir.ptr<!rec_OuterZero>>,
!cir.ptr<!rec_OuterZero> loc(#loc191)
# | 469: cir.call @_ZN9OuterZeroC2Ev(%1) :
(!cir.ptr<!rec_OuterZero> {llvm.align = 1 : i64, llvm.dereferenceable = 1 :
i64, llvm.nonnull, llvm.noundef}) -> () loc(#loc192)
# | 470: cir.return loc(#loc192)
# | 471: } loc(#loc325)
# | 472: cir.func no_inline dso_local
@_Z29test_var_array_new_value_initi(%arg0: !s32i {llvm.noundef}
loc(fused[#loc195, #loc196])) attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:431'4
}
search range end
(exclusive)
# | 473: %0 = cir.alloca "n" align(4) init : !cir.ptr<!s32i>
loc(#loc327)
# | 474: %1 = cir.alloca "p" align(8) init :
!cir.ptr<!cir.ptr<!rec_OuterZero>> loc(#loc328)
# | 475: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc199)
# | 476: %2 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc200)
# | 477: %3 = cir.cast integral %2 : !s32i -> !u64i loc(#loc200)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/non-type-template-param.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/24/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/non-type-template-param.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.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/24/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/non-type-template-param.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.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/non-type-template-param.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.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/non-type-template-param.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp:14: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/non-type-template-param.cpp.tmp.cir:8:53:
note: scanning from here
# | %0 = cir.alloca "a" align(4) init : !cir.ptr<!s32i> loc(#loc11)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.cpp.tmp.cir:8:53:
note: pattern attempts to capture variables: "CONST_1"
# | %0 = cir.alloca "a" align(4) init : !cir.ptr<!s32i> loc(#loc11)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.cpp.tmp.cir:9:2:
note: possible intended match here
# | %1 = cir.const #cir.int<6> : !s32i loc(#loc12)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/non-type-template-param.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: !s32i = !cir.int<s, 32>
# | 2: module
@"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp"
attributes {cir.default_tls_model = #cir.tls_model<tls_dyn>, cir.lang =
#cir.lang<cxx>, cir.module_asm = [], cir.triple = "x86_64-unknown-linux-gnu",
dlti.dl_spec = #dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>,
!llvm.ptr<271> = dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> :
vector<4xi64>, i64 = dense<64> : vector<2xi64>, i128 = dense<128> :
vector<2xi64>, f80 = dense<128> : vector<2xi64>, !llvm.ptr = dense<64> :
vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>,
i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 =
dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> :
vector<2xi64>, "dlti.endianness" = "little", "dlti.mangling_mode" = "e",
"dlti.legal_int_widths" = array<i32: 8, 16, 32, 64>, "dlti.stack_alignment" =
128 : i64, !cir.ptr<!cir.void> = #cir.ptr_spec<size = 64, abi = 64, preferred =
64, index = 64>>} {
# | 3: cir.func no_inline dso_local @_Z3foov() attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | 4: cir.call @_Z12template_fooILi1EEvv() : () -> () loc(#loc3)
# | 5: cir.return loc(#loc2)
# | 6: } loc(#loc9)
# | 7: cir.func no_inline comdat linkonce_odr
@_Z12template_fooILi1EEvv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | 8: %0 = cir.alloca "a" align(4) init : !cir.ptr<!s32i>
loc(#loc11)
# | check:14'0 {
search range start (exclusive)
# | check:14'1
error: no match found in search range
# | check:14'2
pattern attempts to capture variables: "CONST_1"
# | 9: %1 = cir.const #cir.int<6> : !s32i loc(#loc12)
# | check:14'3 ? possible
intended match
# | 10: cir.store align(4) %1, %0 : !s32i, !cir.ptr<!s32i>
loc(#loc11)
# | 11: cir.return loc(#loc5)
# | 12: } loc(#loc10)
# | 13: } loc(#loc)
# | 14: #loc =
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp":0:0)
# | .
# | .
# | .
# | 21: #loc7 =
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp":10:15)
# | 22: #loc8 =
loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/non-type-template-param.cpp":10:11)
# | 23: #loc9 = loc(fused[#loc1, #loc2])
# | 24: #loc10 = loc(fused[#loc4, #loc5])
# | 25: #loc11 = loc(fused[#loc6, #loc7])
# | 26: #loc12 = loc(fused[#loc8, #loc7])
# | check:14'4 } search range end
(exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/paren-list-agg-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 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/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-fno-clangir-call-conv-lowering -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include
-nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-fno-clangir-call-conv-lowering -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:134:16:
warning: implicit conversion from 'double' to 'char' changes value from 3.1 to
3 [-Wliteral-conversion]
# | 134 | constexpr A a1(3.1, 2.0);
# | | ~^~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:617:5:
warning: expression result unused [-Wunused-value]
# | 617 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:647:5:
warning: expression result unused [-Wunused-value]
# | 647 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:701:5:
warning: expression result unused [-Wunused-value]
# | 701 | I(0, 1);
# | | ^~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:725:5:
warning: expression result unused [-Wunused-value]
# | 725 | I(0, foo20());
# | | ^~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:745:5:
warning: expression result unused [-Wunused-value]
# | 745 | I(0, static_cast<int&&>(i));
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:768:5:
warning: expression result unused [-Wunused-value]
# | 768 | I(0);
# | | ^~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:617:5:
warning: expression result unused [-Wunused-value]
# | 617 | S1((Vec&&) v);
# | | ^ ~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:651:5:
note: in instantiation of function template specialization 'gh61145::make1<0>'
requested here
# | 651 | make1<0>();
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:647:5:
warning: expression result unused [-Wunused-value]
# | 647 | S2((Vec&&) v, 0);
# | | ^ ~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:652:5:
note: in instantiation of function template specialization 'gh61145::make2<0>'
requested here
# | 652 | make2<0>();
# | | ^
# | 9 warnings generated.
# `-----------------------------
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp:879:10:
error: CIR: expected string not found in input
# | // CIR: %[[ALLOC_DIFF:.*]] = cir.sub %[[SIZE]], %[[INIT_SIZE]] : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: scanning from here
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: with "SIZE" equal to "1"
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: with "INIT_SIZE" equal to "18"
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:508:38:
note: pattern attempts to capture variables: "ALLOC_DIFF"
# | %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir:512:2:
note: possible intended match here
# | %21 = cir.cast bitcast %3 : !cir.ptr<!cir.array<!s32i x 2>> ->
!cir.ptr<!void> loc(#loc374)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/paren-list-agg-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/paren-list-agg-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 503: %14 = cir.ptr_stride %11, %13 : (!cir.ptr<!s32i>, !s64i)
-> !cir.ptr<!s32i> loc(#loc376)
# | 504: %15 = cir.const #cir.int<8> : !s32i loc(#loc262)
# | 505: cir.store align(4) %15, %14 : !s32i, !cir.ptr<!s32i>
loc(#loc262)
# | 506: %16 = cir.const #cir.int<1> : !s32i loc(#loc259)
# | 507: %17 = cir.ptr_stride %10, %16 : (!cir.ptr<!cir.array<!s32i
x 2>>, !s32i) -> !cir.ptr<!cir.array<!s32i x 2>> loc(#loc259)
# | 508: %18 = cir.const #cir.int<16> : !u64i loc(#loc374)
# | check:879'0 { search
range start (exclusive)
# | check:879'1 error:
no match found in search range
# | check:879'2 with
"SIZE" equal to "1"
# | check:879'3 with
"INIT_SIZE" equal to "18"
# | check:879'4
pattern attempts to capture variables: "ALLOC_DIFF"
# | 509: %19 = cir.cast bitcast %17 : !cir.ptr<!cir.array<!s32i x
2>> -> !cir.ptr<!void> loc(#loc259)
# | 510: %20 = cir.const #cir.int<0> : !u8i loc(#loc374)
# | 511: cir.libc.memset %18 bytes at %19 align(4) to %20 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc374)
# | 512: %21 = cir.cast bitcast %3 : !cir.ptr<!cir.array<!s32i x
2>> -> !cir.ptr<!void> loc(#loc374)
# | check:879'5 ?
possible intended match
# | 513: cir.store align(8) %21, %0 : !cir.ptr<!void>,
!cir.ptr<!cir.ptr<!void>> loc(#loc373)
# | 514: cir.return loc(#loc251)
# | 515: } loc(#loc372)
# | 516: cir.func no_inline dso_local
@_ZN12base_cleanup12base_cleanupEv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:879'6
}
search range end (exclusive)
# | 517: %0 = cir.alloca "x" align(4) init :
!cir.ptr<!rec_base_cleanup3A3ADerived> loc(#loc378)
# | 518: %1 = cir.base_class_addr %0 :
!cir.ptr<!rec_base_cleanup3A3ADerived> nonnull [0] ->
!cir.ptr<!rec_base_cleanup3A3ABase> loc(#loc379)
# | 519: %2 = cir.get_member %1[0] {name = "b"} :
!cir.ptr<!rec_base_cleanup3A3ABase> -> !cir.ptr<!s32i> loc(#loc268)
# | 520: %3 = cir.const #cir.int<1> : !s32i loc(#loc269)
# | 521: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc269)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenCXX/new-array-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/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/CodeGenCXX/new-array-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/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/CodeGenCXX/new-array-init.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp:205:10:
error: CIR: expected string not found in input
# | // CIR: %[[INIT_SIZE:.*]] = cir.const #cir.int<12> : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:149:76:
note: scanning from here
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc51)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:149:76:
note: pattern attempts to capture variables: "INIT_SIZE"
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc51)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:150:2:
note: possible intended match here
# | %12 = cir.const #cir.int<4> : !u64i loc(#loc183)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp:242:10:
error: CIR: expected string not found in input
# | // CIR: %[[INIT_SIZE:.*]] = cir.const #cir.int<12> : !u64i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:171:76:
note: scanning from here
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc59)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:171:76:
note: pattern attempts to capture variables: "INIT_SIZE"
# | %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) -> !cir.ptr<!s32i>
loc(#loc59)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir:172:2:
note: possible intended match here
# | %12 = cir.const #cir.int<4> : !u64i loc(#loc185)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenCXX/Output/new-array-init.cpp.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenCXX/new-array-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 144: %7 = cir.const #cir.int<1> : !s32i loc(#loc50)
# | 145: %8 = cir.ptr_stride %5, %7 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc50)
# | 146: %9 = cir.const #cir.int<3> : !s32i loc(#loc51)
# | 147: cir.store align(4) %9, %8 : !s32i, !cir.ptr<!s32i>
loc(#loc51)
# | 148: %10 = cir.const #cir.int<1> : !s32i loc(#loc51)
# | 149: %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc51)
# | check:205'0
{ search range start (exclusive)
# | check:205'1
error: no match found in search range
# | check:205'2
pattern attempts to capture variables: "INIT_SIZE"
# | 150: %12 = cir.const #cir.int<4> : !u64i loc(#loc183)
# | check:205'3 ?
possible intended match
# | 151: %13 = cir.cast bitcast %11 : !cir.ptr<!s32i> ->
!cir.ptr<!void> loc(#loc51)
# | 152: %14 = cir.const #cir.int<0> : !u8i loc(#loc183)
# | 153: cir.libc.memset %12 bytes at %13 align(4) to %14 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc183)
# | 154: cir.return loc(#loc45)
# | 155: } loc(#loc182)
# | 156: cir.func no_inline dso_local
@_Z22const_sufficient_parenv() attributes {"cir.target-features" =
"+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:205'4
}
search range end (exclusive)
# | 157: %0 = cir.const #cir.int<16> : !u64i loc(#loc185)
# | 158: %1 = cir.call @_Znam(%0) {allocsize = array<i32: 0>,
builtin} : (!u64i {llvm.noundef}) -> (!cir.ptr<!void> {llvm.nonnull,
llvm.noundef}) loc(#loc56)
# | 159: %2 = cir.cast bitcast %1 : !cir.ptr<!void> ->
!cir.ptr<!s32i> loc(#loc185)
# | 160: %3 = cir.const #cir.int<1> : !s32i loc(#loc57)
# | 161: cir.store align(4) %3, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc57)
# | .
# | .
# | .
# | 166: %7 = cir.const #cir.int<1> : !s32i loc(#loc58)
# | 167: %8 = cir.ptr_stride %5, %7 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc58)
# | 168: %9 = cir.const #cir.int<3> : !s32i loc(#loc59)
# | 169: cir.store align(4) %9, %8 : !s32i, !cir.ptr<!s32i>
loc(#loc59)
# | 170: %10 = cir.const #cir.int<1> : !s32i loc(#loc59)
# | 171: %11 = cir.ptr_stride %8, %10 : (!cir.ptr<!s32i>, !s32i) ->
!cir.ptr<!s32i> loc(#loc59)
# | check:242'0
{ search range start (exclusive)
# | check:242'1
error: no match found in search range
# | check:242'2
pattern attempts to capture variables: "INIT_SIZE"
# | 172: %12 = cir.const #cir.int<4> : !u64i loc(#loc185)
# | check:242'3 ?
possible intended match
# | 173: %13 = cir.cast bitcast %11 : !cir.ptr<!s32i> ->
!cir.ptr<!void> loc(#loc59)
# | 174: %14 = cir.const #cir.int<0> : !u8i loc(#loc185)
# | 175: cir.libc.memset %12 bytes at %13 align(4) to %14 :
!cir.ptr<!void>, !u8i, !u64i loc(#loc185)
# | 176: cir.return loc(#loc53)
# | 177: } loc(#loc184)
# | 178: cir.func no_inline dso_local @_Z15string_nonconsti(%arg0:
!s32i {llvm.noundef} loc(fused[#loc62, #loc63])) attributes
{"cir.target-features" = "+cx8,+mmx,+sse,+sse2,+x87", nothrow} {
# | check:242'4 }
search range end (exclusive)
# | 179: %0 = cir.alloca "n" align(4) init : !cir.ptr<!s32i>
loc(#loc187)
# | 180: cir.store %arg0, %0 : !s32i, !cir.ptr<!s32i> loc(#loc64)
# | 181: %1 = cir.load align(4) %0 : !cir.ptr<!s32i>, !s32i
loc(#loc65)
# | 182: %2 = cir.cast integral %1 : !s32i -> !u64i loc(#loc65)
# | 183: %3 = cir.const #cir.int<4> : !u64i loc(#loc188)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/218398
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits