[flang-commits] [flang] [llvm] [mlir] [llvm][mlir][flang][OpenMP] Emit __atomic_load and __atomic_compare_exchange libcalls for complex types in atomic update (PR #92364)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Thu Oct 3 00:45:23 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-arm64-windows-msvc` running on `linaro-armv8-windows-msvc-04` while building `flang,llvm,mlir` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/161/builds/2501
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Flang :: Integration/OpenMP/atomic-capture-complex.f90' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 9
c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\flang-new.exe -fc1 -emit-llvm -fopenmp C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\flang\test\Integration\OpenMP\atomic-capture-complex.f90 -o - | c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\flang\test\Integration\OpenMP\atomic-capture-complex.f90
# executed command: 'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\flang-new.exe' -fc1 -emit-llvm -fopenmp 'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\flang\test\Integration\OpenMP\atomic-capture-complex.f90' -o -
# executed command: 'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe' 'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\flang\test\Integration\OpenMP\atomic-capture-complex.f90'
# .---command stderr------------
# | C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\flang\test\Integration\OpenMP\atomic-capture-complex.f90:38:9: error: CHECK: expected string not found in input
# | !CHECK: store { float, float } %[[VAL_10]], ptr %[[VAL_1]], align 4
# | ^
# | <stdin>:32:13: note: scanning from here
# | .atomic.exit: ; preds = %.atomic.cont
# | ^
# | <stdin>:32:13: note: with "VAL_10" equal to "10"
# | .atomic.exit: ; preds = %.atomic.cont
# | ^
# | <stdin>:32:13: note: with "VAL_1" equal to "1"
# | .atomic.exit: ; preds = %.atomic.cont
# | ^
# | <stdin>:34:2: note: possible intended match here
# | store { float, float } %.lcssa, ptr %1, align 4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\flang\test\Integration\OpenMP\atomic-capture-complex.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 27: store { float, float } %10, ptr %x.new.val, align 4
# | 28: %11 = call i1 @__atomic_compare_exchange(i64 8, ptr %2, ptr %atomic.temp.load, ptr %x.new.val, i32 2, i32 2)
# | 29: %12 = load { float, float }, ptr %atomic.temp.load, align 4
# | 30: br i1 %11, label %.atomic.exit, label %.atomic.cont
# | 31:
# | 32: .atomic.exit: ; preds = %.atomic.cont
# | check:38'0 X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:38'1 with "VAL_10" equal to "10"
# | check:38'2 with "VAL_1" equal to "1"
# | 33: %.lcssa = phi { float, float } [ %10, %.atomic.cont ]
# | check:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 34: store { float, float } %.lcssa, ptr %1, align 4
# | check:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:38'3 ? possible intended match
...
```
</details>
https://github.com/llvm/llvm-project/pull/92364
More information about the flang-commits
mailing list