github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 85775 tests passed
* 754 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGen/atomic.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/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/atomic.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/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/atomic.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:84:9:
error: CIR: expected string not found in input
# | // CIR: %{{.+}} = cir.load align(4) atomic(relaxed) %{{.+}} :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:352:36:
note: scanning from here
# | cir.func no_inline dso_local @load(%arg0: !cir.ptr<!s32i>
loc(fused[#loc27, #loc28])) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:357:12:
note: possible intended match here
# | %3 = cir.load align(4) syncscope(system) atomic(relaxed) %2 :
!cir.ptr<!s32i>, !s32i loc(#loc824)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:113:9:
error: CIR: expected string not found in input
# | // CIR: %{{.+}} = cir.load align(4) atomic(relaxed) %{{.+}} :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:370:38:
note: scanning from here
# | cir.func no_inline dso_local @load_n(%arg0: !cir.ptr<!s32i>
loc(fused[#loc46, #loc47])) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:379:12:
note: possible intended match here
# | %7 = cir.load align(4) syncscope(system) atomic(relaxed) %6 :
!cir.ptr<!s32i>, !s32i loc(#loc831)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:141:9:
error: CIR: expected string not found in input
# | // CIR: %{{.+}} = cir.load align(4) atomic(relaxed) %{{.+}} :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:400:40:
note: scanning from here
# | cir.func no_inline dso_local @c11_load(%arg0: !cir.ptr<!s32i>
loc(fused[#loc69, #loc70])) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:408:12:
note: possible intended match here
# | %6 = cir.load align(4) syncscope(system) atomic(relaxed) %5 :
!cir.ptr<!s32i>, !s32i loc(#loc841)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:1148:15:
error: CIR-NEXT: expected string not found in input
# | // CIR-NEXT: %[[RES:.+]] = cir.load align(4) atomic(relaxed) %[[PTR]] :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:1455:25:
note: scanning from here
# | cir.case(default, []) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:1455:25:
note: with "PTR" equal to "4"
# | cir.case(default, []) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:1456:12:
note: possible intended match here
# | %8 = cir.load align(4) syncscope(system) atomic(relaxed) %4 :
!cir.ptr<!s32i>, !s32i loc(#loc1093)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 347: %2 = cir.cast floating %1 : !cir.double -> !cir.float
loc(#loc23)
# | 348: %3 = cir.load deref align(8) %0 :
!cir.ptr<!cir.ptr<!cir.float>>, !cir.ptr<!cir.float> loc(#loc24)
# | 349: cir.store align(4) atomic(seq_cst) %2, %3 : !cir.float,
!cir.ptr<!cir.float> loc(#loc24)
# | 350: cir.return loc(#loc19)
# | 351: } loc(#loc819)
# | 352: cir.func no_inline dso_local @load(%arg0: !cir.ptr<!s32i>
loc(fused[#loc27, #loc28])) {
# | check:84'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 353: %0 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["ptr", init] {alignment = 8 : i64} loc(#loc822)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 354: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["x"] {alignment =
4 : i64} loc(#loc823)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 355: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc31)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 356: %2 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc32)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 357: %3 = cir.load align(4) syncscope(system) atomic(relaxed)
%2 : !cir.ptr<!s32i>, !s32i loc(#loc824)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:84'1 ?
possible intended match
# | 358: cir.store align(4) %3, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc824)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 359: %4 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc35)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 360: %5 = cir.load align(4) syncscope(system) atomic(consume)
%4 : !cir.ptr<!s32i>, !s32i loc(#loc825)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 361: cir.store align(4) %5, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc825)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 362: %6 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc38)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 365: %8 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc41)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 366: %9 = cir.load align(4) syncscope(system) atomic(seq_cst)
%8 : !cir.ptr<!s32i>, !s32i loc(#loc827)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 367: cir.store align(4) %9, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc827)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 368: cir.return loc(#loc26)
# | check:84'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 369: } loc(#loc821)
# | check:84'0 ~~~~~~~~~~~~~~~~
# | 370: cir.func no_inline dso_local @load_n(%arg0:
!cir.ptr<!s32i> loc(fused[#loc46, #loc47])) {
# | check:84'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:113'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 371: %0 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["ptr", init] {alignment = 8 : i64} loc(#loc829)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 372: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["a"] {alignment =
4 : i64} loc(#loc830)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 373: %2 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc831)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 374: %3 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc832)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 375: %4 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc833)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 376: %5 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc834)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 377: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc58)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 378: %6 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc59)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 379: %7 = cir.load align(4) syncscope(system) atomic(relaxed)
%6 : !cir.ptr<!s32i>, !s32i loc(#loc831)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:113'1 ?
possible intended match
# | 380: cir.store align(4) %7, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc831)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 381: %8 = cir.load align(4) %2 : !cir.ptr<!s32i>, !s32i
loc(#loc50)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 382: cir.store align(4) %8, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc835)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 383: %9 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc61)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 384: %10 = cir.load align(4) syncscope(system) atomic(consume)
%9 : !cir.ptr<!s32i>, !s32i loc(#loc832)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 395: cir.store align(4) %16, %5 : !s32i, !cir.ptr<!s32i>
loc(#loc834)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 396: %17 = cir.load align(4) %5 : !cir.ptr<!s32i>, !s32i
loc(#loc56)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 397: cir.store align(4) %17, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc838)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 398: cir.return loc(#loc45)
# | check:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 399: } loc(#loc828)
# | check:113'0 ~~~~~~~~~~~~~~~~
# | 400: cir.func no_inline dso_local @c11_load(%arg0:
!cir.ptr<!s32i> loc(fused[#loc69, #loc70])) {
# | check:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:141'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 401: %0 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["ptr", init] {alignment = 8 : i64} loc(#loc840)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 402: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc841)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 403: %2 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc842)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 404: %3 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc843)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 405: %4 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc844)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 406: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc79)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 407: %5 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc80)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 408: %6 = cir.load align(4) syncscope(system) atomic(relaxed)
%5 : !cir.ptr<!s32i>, !s32i loc(#loc841)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:141'1 ?
possible intended match
# | 409: cir.store align(4) %6, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc841)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 410: %7 = cir.load align(4) %1 : !cir.ptr<!s32i>, !s32i
loc(#loc71)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 411: %8 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc81)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 412: %9 = cir.load align(4) syncscope(system) atomic(consume)
%8 : !cir.ptr<!s32i>, !s32i loc(#loc842)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 413: cir.store align(4) %9, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc842)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1450: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc782)
# | 1451: cir.store %arg1, %1 : !s32i, !cir.ptr<!s32i> loc(#loc782)
# | 1452: %4 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc783)
# | 1453: %5 = cir.load align(4) %1 : !cir.ptr<!s32i>, !s32i
loc(#loc784)
# | 1454: cir.switch (%5 : !s32i) {
# | 1455: cir.case(default, []) {
# | next:1148'0 X error: no match found
# | next:1148'1 with "PTR" equal to "4"
# | 1456: %8 = cir.load align(4) syncscope(system) atomic(relaxed)
%4 : !cir.ptr<!s32i>, !s32i loc(#loc1093)
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1148'2 ?
possible intended match
# | 1457: cir.store align(4) %8, %3 : !s32i, !cir.ptr<!s32i>
loc(#loc1093)
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1458: cir.break loc(#loc784)
# | next:1148'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 1459: } loc(#loc784)
# | next:1148'0 ~~~~~~~~~~~~~~~~
# | 1460: cir.case(anyof, [#cir.int<1> : !s32i, #cir.int<2> :
!s32i]) {
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1461: %8 = cir.load align(4) syncscope(system) atomic(acquire)
%4 : !cir.ptr<!s32i>, !s32i loc(#loc1093)
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/atomic.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/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/atomic.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1
-internal-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/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/atomic.c
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c
-check-prefix=CIR
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c
-check-prefix=CIR
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:84:9:
error: CIR: expected string not found in input
# | // CIR: %{{.+}} = cir.load align(4) atomic(relaxed) %{{.+}} :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:352:36:
note: scanning from here
# | cir.func no_inline dso_local @load(%arg0: !cir.ptr<!s32i>
loc(fused[#loc27, #loc28])) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:357:12:
note: possible intended match here
# | %3 = cir.load align(4) syncscope(system) atomic(relaxed) %2 :
!cir.ptr<!s32i>, !s32i loc(#loc824)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:113:9:
error: CIR: expected string not found in input
# | // CIR: %{{.+}} = cir.load align(4) atomic(relaxed) %{{.+}} :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:370:38:
note: scanning from here
# | cir.func no_inline dso_local @load_n(%arg0: !cir.ptr<!s32i>
loc(fused[#loc46, #loc47])) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:379:12:
note: possible intended match here
# | %7 = cir.load align(4) syncscope(system) atomic(relaxed) %6 :
!cir.ptr<!s32i>, !s32i loc(#loc831)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:141:9:
error: CIR: expected string not found in input
# | // CIR: %{{.+}} = cir.load align(4) atomic(relaxed) %{{.+}} :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:400:40:
note: scanning from here
# | cir.func no_inline dso_local @c11_load(%arg0: !cir.ptr<!s32i>
loc(fused[#loc69, #loc70])) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:408:12:
note: possible intended match here
# | %6 = cir.load align(4) syncscope(system) atomic(relaxed) %5 :
!cir.ptr<!s32i>, !s32i loc(#loc841)
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c:1148:15:
error: CIR-NEXT: expected string not found in input
# | // CIR-NEXT: %[[RES:.+]] = cir.load align(4) atomic(relaxed) %[[PTR]] :
!cir.ptr<!s32i>, !s32i
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:1455:25:
note: scanning from here
# | cir.case(default, []) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:1455:25:
note: with "PTR" equal to "4"
# | cir.case(default, []) {
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir:1456:12:
note: possible intended match here
# | %8 = cir.load align(4) syncscope(system) atomic(relaxed) %4 :
!cir.ptr<!s32i>, !s32i loc(#loc1093)
# | ^
# |
# | Input file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/atomic.c.tmp.cir
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/atomic.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 347: %2 = cir.cast floating %1 : !cir.double -> !cir.float
loc(#loc23)
# | 348: %3 = cir.load deref align(8) %0 :
!cir.ptr<!cir.ptr<!cir.float>>, !cir.ptr<!cir.float> loc(#loc24)
# | 349: cir.store align(4) atomic(seq_cst) %2, %3 : !cir.float,
!cir.ptr<!cir.float> loc(#loc24)
# | 350: cir.return loc(#loc19)
# | 351: } loc(#loc819)
# | 352: cir.func no_inline dso_local @load(%arg0: !cir.ptr<!s32i>
loc(fused[#loc27, #loc28])) {
# | check:84'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 353: %0 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["ptr", init] {alignment = 8 : i64} loc(#loc822)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 354: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["x"] {alignment =
4 : i64} loc(#loc823)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 355: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc31)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 356: %2 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc32)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 357: %3 = cir.load align(4) syncscope(system) atomic(relaxed)
%2 : !cir.ptr<!s32i>, !s32i loc(#loc824)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:84'1 ?
possible intended match
# | 358: cir.store align(4) %3, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc824)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 359: %4 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc35)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 360: %5 = cir.load align(4) syncscope(system) atomic(consume)
%4 : !cir.ptr<!s32i>, !s32i loc(#loc825)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 361: cir.store align(4) %5, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc825)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 362: %6 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc38)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 365: %8 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc41)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 366: %9 = cir.load align(4) syncscope(system) atomic(seq_cst)
%8 : !cir.ptr<!s32i>, !s32i loc(#loc827)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 367: cir.store align(4) %9, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc827)
# | check:84'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 368: cir.return loc(#loc26)
# | check:84'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 369: } loc(#loc821)
# | check:84'0 ~~~~~~~~~~~~~~~~
# | 370: cir.func no_inline dso_local @load_n(%arg0:
!cir.ptr<!s32i> loc(fused[#loc46, #loc47])) {
# | check:84'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:113'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 371: %0 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["ptr", init] {alignment = 8 : i64} loc(#loc829)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 372: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["a"] {alignment =
4 : i64} loc(#loc830)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 373: %2 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc831)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 374: %3 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc832)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 375: %4 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc833)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 376: %5 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc834)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 377: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc58)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 378: %6 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc59)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 379: %7 = cir.load align(4) syncscope(system) atomic(relaxed)
%6 : !cir.ptr<!s32i>, !s32i loc(#loc831)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:113'1 ?
possible intended match
# | 380: cir.store align(4) %7, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc831)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 381: %8 = cir.load align(4) %2 : !cir.ptr<!s32i>, !s32i
loc(#loc50)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 382: cir.store align(4) %8, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc835)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 383: %9 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc61)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 384: %10 = cir.load align(4) syncscope(system) atomic(consume)
%9 : !cir.ptr<!s32i>, !s32i loc(#loc832)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 395: cir.store align(4) %16, %5 : !s32i, !cir.ptr<!s32i>
loc(#loc834)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 396: %17 = cir.load align(4) %5 : !cir.ptr<!s32i>, !s32i
loc(#loc56)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 397: cir.store align(4) %17, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc838)
# | check:113'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 398: cir.return loc(#loc45)
# | check:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 399: } loc(#loc828)
# | check:113'0 ~~~~~~~~~~~~~~~~
# | 400: cir.func no_inline dso_local @c11_load(%arg0:
!cir.ptr<!s32i> loc(fused[#loc69, #loc70])) {
# | check:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:141'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 401: %0 = cir.alloca !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>>, ["ptr", init] {alignment = 8 : i64} loc(#loc840)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 402: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc841)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 403: %2 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc842)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 404: %3 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc843)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 405: %4 = cir.alloca !s32i, !cir.ptr<!s32i>, ["atomic-temp"]
{alignment = 4 : i64} loc(#loc844)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 406: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc79)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 407: %5 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc80)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 408: %6 = cir.load align(4) syncscope(system) atomic(relaxed)
%5 : !cir.ptr<!s32i>, !s32i loc(#loc841)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:141'1 ?
possible intended match
# | 409: cir.store align(4) %6, %1 : !s32i, !cir.ptr<!s32i>
loc(#loc841)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 410: %7 = cir.load align(4) %1 : !cir.ptr<!s32i>, !s32i
loc(#loc71)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 411: %8 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc81)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 412: %9 = cir.load align(4) syncscope(system) atomic(consume)
%8 : !cir.ptr<!s32i>, !s32i loc(#loc842)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 413: cir.store align(4) %9, %2 : !s32i, !cir.ptr<!s32i>
loc(#loc842)
# | check:141'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1450: cir.store %arg0, %0 : !cir.ptr<!s32i>,
!cir.ptr<!cir.ptr<!s32i>> loc(#loc782)
# | 1451: cir.store %arg1, %1 : !s32i, !cir.ptr<!s32i> loc(#loc782)
# | 1452: %4 = cir.load align(8) %0 : !cir.ptr<!cir.ptr<!s32i>>,
!cir.ptr<!s32i> loc(#loc783)
# | 1453: %5 = cir.load align(4) %1 : !cir.ptr<!s32i>, !s32i
loc(#loc784)
# | 1454: cir.switch (%5 : !s32i) {
# | 1455: cir.case(default, []) {
# | next:1148'0 X error: no match found
# | next:1148'1 with "PTR" equal to "4"
# | 1456: %8 = cir.load align(4) syncscope(system) atomic(relaxed)
%4 : !cir.ptr<!s32i>, !s32i loc(#loc1093)
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1148'2 ?
possible intended match
# | 1457: cir.store align(4) %8, %3 : !s32i, !cir.ptr<!s32i>
loc(#loc1093)
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1458: cir.break loc(#loc784)
# | next:1148'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 1459: } loc(#loc784)
# | next:1148'0 ~~~~~~~~~~~~~~~~
# | 1460: cir.case(anyof, [#cir.int<1> : !s32i, #cir.int<2> :
!s32i]) {
# | next:1148'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1461: %8 = cir.load align(4) syncscope(system) atomic(acquire)
%4 : !cir.ptr<!s32i>, !s32i loc(#loc1093)
# | next:1148'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/171134
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits