[llvm] [AMDGPU][UniformityAnalysis] Mark set_inactive and set_inactive_chain_arg as SourceOfDivergence (PR #190640)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 12:52:17 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-clang-flang` running on `rocm-worker-hw-01` while building `llvm` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/67/builds/1677
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 3 (annotate) failure: 'python ../llvm.src/offload/ci/openmp-offload-amdgpu-clang-flang.py ...' (failure)
...
UNSUPPORTED: libomptarget :: x86_64-unknown-linux-gnu :: mapping/auto_zero_copy.cpp (818 of 1319)
UNSUPPORTED: libomptarget :: x86_64-unknown-linux-gnu :: mapping/auto_zero_copy_apu.cpp (819 of 1319)
UNSUPPORTED: libomptarget :: x86_64-unknown-linux-gnu :: mapping/auto_zero_copy_globals.cpp (820 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_device_alloc.c (821 of 1319)
PASS: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_no_device_init.c (822 of 1319)
PASS: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_emi_map.c (823 of 1319)
PASS: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_map.c (824 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_device_memory.c (825 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_get_num_devices_with_empty_target.c (826 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_get_num_devices.c (827 of 1319)
FAIL: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_emi.c (828 of 1319)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_emi.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp -Xoffload-linker -lompdevice && /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp | /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp -Xoffload-linker -lompdevice
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp
# .---command stderr------------
# | Display last 2 kernels launched:
# | Kernel 0: 'omp target in main @ 38 (__omp_offloading_fc00_2866394_main_l38)'
# | Kernel 1: 'omp target in main @ 32 (__omp_offloading_fc00_2866394_main_l32)'
# | Use 'OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=<num>' to adjust the number of shown stack traces (0 now, up to 8)
# | OFFLOAD ERROR: memory access fault by GPU 2 (agent 0x6025aed89a60) at virtual address 0x10100000000. Reasons: Unknown (0)
# | Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c:113:12: error: CHECK: expected string not found in input
# | /// CHECK: code=[[CODE2]]
# | ^
# | <stdin>:29:89: note: scanning from here
# | Callback DataOp EMI: endpoint=ompt_scope_end optype=ompt_target_data_transfer_to_device target_task_data=0x6025aed3a4d8 (0x0) target_data=0x7e1dce7357d0 (0x800000000000000b) host_op_id=0x7e1dce7357c8 (0x800000000000000d) src=0x7ffc6006dd30 src_device_num=1 dest=0x7e1dc6662000 dest_device_num=0 bytes=400000 code=0x6025a71ec8
# | ^
# | <stdin>:29:89: note: with "CODE2" equal to "0x6025a71ec858"
# | Callback DataOp EMI: endpoint=ompt_scope_end optype=ompt_target_data_transfer_to_device target_task_data=0x6025aed3a4d8 (0x0) target_data=0x7e1dce7357d0 (0x800000000000000b) host_op_id=0x7e1dce7357c8 (0x800000000000000d) src=0x7ffc6006dd30 src_device_num=1 dest=0x7e1dc6662000 dest_device_num=0 bytes=400000 code=0x6025a71ec8
# | ^
# | <stdin>:29:310: note: possible intended match here
# | Callback DataOp EMI: endpoint=ompt_scope_end optype=ompt_target_data_transfer_to_device target_task_data=0x6025aed3a4d8 (0x0) target_data=0x7e1dce7357d0 (0x800000000000000b) host_op_id=0x7e1dce7357c8 (0x800000000000000d) src=0x7ffc6006dd30 src_device_num=1 dest=0x7e1dc6662000 dest_device_num=0 bytes=400000 code=0x6025a71ec8
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c
# |
# | -dump-input=help explains the following input dump.
Step 9 (Add check check-offload) failure: Add check check-offload (failure)
...
UNSUPPORTED: libomptarget :: x86_64-unknown-linux-gnu :: mapping/auto_zero_copy.cpp (818 of 1319)
UNSUPPORTED: libomptarget :: x86_64-unknown-linux-gnu :: mapping/auto_zero_copy_apu.cpp (819 of 1319)
UNSUPPORTED: libomptarget :: x86_64-unknown-linux-gnu :: mapping/auto_zero_copy_globals.cpp (820 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_device_alloc.c (821 of 1319)
PASS: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_no_device_init.c (822 of 1319)
PASS: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_emi_map.c (823 of 1319)
PASS: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_map.c (824 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_device_memory.c (825 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_get_num_devices_with_empty_target.c (826 of 1319)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: api/omp_get_num_devices.c (827 of 1319)
FAIL: libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_emi.c (828 of 1319)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: ompt/veccopy_emi.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp -Xoffload-linker -lompdevice && /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp | /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp -Xoffload-linker -lompdevice
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/ompt/Output/veccopy_emi.c.tmp
# .---command stderr------------
# | Display last 2 kernels launched:
# | Kernel 0: 'omp target in main @ 38 (__omp_offloading_fc00_2866394_main_l38)'
# | Kernel 1: 'omp target in main @ 32 (__omp_offloading_fc00_2866394_main_l32)'
# | Use 'OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=<num>' to adjust the number of shown stack traces (0 now, up to 8)
# | OFFLOAD ERROR: memory access fault by GPU 2 (agent 0x6025aed89a60) at virtual address 0x10100000000. Reasons: Unknown (0)
# | Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c:113:12: error: CHECK: expected string not found in input
# | /// CHECK: code=[[CODE2]]
# | ^
# | <stdin>:29:89: note: scanning from here
# | Callback DataOp EMI: endpoint=ompt_scope_end optype=ompt_target_data_transfer_to_device target_task_data=0x6025aed3a4d8 (0x0) target_data=0x7e1dce7357d0 (0x800000000000000b) host_op_id=0x7e1dce7357c8 (0x800000000000000d) src=0x7ffc6006dd30 src_device_num=1 dest=0x7e1dc6662000 dest_device_num=0 bytes=400000 code=0x6025a71ec8
# | ^
# | <stdin>:29:89: note: with "CODE2" equal to "0x6025a71ec858"
# | Callback DataOp EMI: endpoint=ompt_scope_end optype=ompt_target_data_transfer_to_device target_task_data=0x6025aed3a4d8 (0x0) target_data=0x7e1dce7357d0 (0x800000000000000b) host_op_id=0x7e1dce7357c8 (0x800000000000000d) src=0x7ffc6006dd30 src_device_num=1 dest=0x7e1dc6662000 dest_device_num=0 bytes=400000 code=0x6025a71ec8
# | ^
# | <stdin>:29:310: note: possible intended match here
# | Callback DataOp EMI: endpoint=ompt_scope_end optype=ompt_target_data_transfer_to_device target_task_data=0x6025aed3a4d8 (0x0) target_data=0x7e1dce7357d0 (0x800000000000000b) host_op_id=0x7e1dce7357c8 (0x800000000000000d) src=0x7ffc6006dd30 src_device_num=1 dest=0x7e1dc6662000 dest_device_num=0 bytes=400000 code=0x6025a71ec8
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/ompt/veccopy_emi.c
# |
# | -dump-input=help explains the following input dump.
```
</details>
https://github.com/llvm/llvm-project/pull/190640
More information about the llvm-commits
mailing list