[llvm] [OpenMP] Remove 'omp assumes' scopes now that we have no inline ASM (PR #123611)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 06:23:29 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building `offload` at step 7 "Add check check-offload".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/14152
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (Add check check-offload) failure: test (failure)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: jit/empty_kernel_lvl1.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa -O3 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/jit/empty_kernel_lvl1.c -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a -fopenmp-target-jit -DTGT1_DIRECTIVE="target"
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa -O3 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/jit/empty_kernel_lvl1.c -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a -fopenmp-target-jit -DTGT1_DIRECTIVE=target
# note: command had no output on stdout or stderr
# RUN: at line 4
env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll LIBOMPTARGET_JIT_SKIP_OPT=true /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp
# executed command: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll LIBOMPTARGET_JIT_SKIP_OPT=true /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck --input-file /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/jit/empty_kernel.inc --check-prefix=FIRST
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck --input-file /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/jit/empty_kernel.inc --check-prefix=FIRST
# .---command stderr------------
# | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/jit/empty_kernel.inc:37:16: error: FIRST-NEXT: is not on the line after the previous match
# | // FIRST-NEXT: ret void
# | ^
# | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll:29:2: note: 'next' match was here
# | ret void
# | ^
# | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll:26:80: note: previous match ended here
# | define weak_odr protected amdgpu_kernel void @__omp_offloading_802_b388264_main_l2(ptr noalias noundef %0) local_unnamed_addr #1 {
# | ^
# | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll:27:1: note: non-matching line after previous match is here
# | tail call void @llvm.amdgcn.s.barrier() #2
# | ^
# |
# | Input file: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/jit/Output/empty_kernel_lvl1.c.tmp.pre.ll
# | Check file: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/jit/empty_kernel.inc
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 24:
# | 25: ; Function Attrs: alwaysinline mustprogress norecurse nounwind
# | 26: define weak_odr protected amdgpu_kernel void @__omp_offloading_802_b388264_main_l2(ptr noalias noundef %0) local_unnamed_addr #1 {
# | 27: tail call void @llvm.amdgcn.s.barrier() #2
# | 28: tail call void @llvm.amdgcn.s.barrier() #2
# | 29: ret void
# | next:37 !~~~~~~~ error: match on wrong line
# | 30: }
# | 31:
# | 32: attributes #0 = { convergent nocallback nofree nounwind willreturn }
...
```
</details>
https://github.com/llvm/llvm-project/pull/123611
More information about the llvm-commits
mailing list