[llvm] [VectorCombine] Use TCK_CodeSize for size-optimized functions (PR #202207)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 18:56:31 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 3 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/30012

<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-libc-runtime.py ...' (failure)
...
PASS: libc :: integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_test.__build__ (48 of 710)
PASS: libc :: integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_stream_test.__build__ (49 of 710)
PASS: libc :: shared/libc.test.shared.shared_str_to_num_test.__hermetic__.__build__ (50 of 710)
PASS: libc :: shared/libc.test.shared.shared_math_check_exp_test.__hermetic__.__build__ (51 of 710)
PASS: libc :: shared/libc.test.shared.shared_math_test.__hermetic__.__build__ (52 of 710)
PASS: libc :: shared/libc.test.shared.shared_math_constexpr_test.__hermetic__.__build__ (53 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.array_test.__hermetic__.__build__ (54 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.algorithm_test.__hermetic__.__build__ (55 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.cstddef_test.__hermetic__.__build__ (56 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.atomic_test.__hermetic__.__build__ (57 of 710)
FAIL: libc :: integration/src/stdlib/gpu/libc.test.integration.src.stdlib.gpu.malloc_stress.__build__ (58 of 710)
******************** TEST 'libc :: integration/src/stdlib/gpu/libc.test.integration.src.stdlib.gpu.malloc_stress.__build__' FAILED ********************
No kernel launches known
OFFLOAD ERROR: memory access fault by GPU 2 (agent 0x5abb0e09d440) at virtual address (nil). Reasons: Unknown (0)
Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
 #0 0x0000746756a20c90 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/../lib/libLLVMSupport.so.23.0git+0x220c90)
 #1 0x0000746756a1d85c llvm::sys::RunSignalHandlers() (/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/../lib/libLLVMSupport.so.23.0git+0x21d85c)
 #2 0x0000746756a1d9c2 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x0000746756042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007467560969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #5 0x00007467560969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
 #6 0x00007467560969fc pthread_kill ./nptl/pthread_kill.c:89:10
 #7 0x0000746756042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
 #8 0x00007467560287f3 abort ./stdlib/abort.c:81:7
 #9 0x00007467557e1021 llvm::omp::target::plugin::ErrorReporter::reportMemoryAccessError(llvm::omp::target::plugin::GenericDeviceTy&, void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool) rtl.cpp:0:0
#10 0x00007467557df4f9 llvm::omp::target::plugin::AMDGPUPluginTy::eventHandler(hsa_amd_event_s const*, void*) rtl.cpp:0:0
#11 0x000074674ec839e9 (/opt/rocm/lib/libhsa-runtime64.so+0x839e9)
#12 0x000074674ec81d9c (/opt/rocm/lib/libhsa-runtime64.so+0x81d9c)
#13 0x000074674ec30bab (/opt/rocm/lib/libhsa-runtime64.so+0x30bab)
#14 0x0000746756094ac3 start_thread ./nptl/pthread_create.c:442:8
#15 0x00007467561268d0 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0

********************
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.int_seq_test.__hermetic__.__build__ (59 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.limits_test.__hermetic__.__build__ (60 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.bit_test.__hermetic__.__build__ (61 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.mutex_test.__hermetic__.__build__ (62 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.scope_test.__hermetic__.__build__ (63 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.optional_test.__hermetic__.__build__ (64 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.bitset_test.__hermetic__.__build__ (65 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.simd_test.__hermetic__.__build__ (66 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.span_test.__hermetic__.__build__ (67 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.string_test.__hermetic__.__build__ (68 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.stringstream_test.__hermetic__.__build__ (69 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.stringview_test.__hermetic__.__build__ (70 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.tuple_test.__hermetic__.__build__ (71 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.type_traits_test.__hermetic__.__build__ (72 of 710)
PASS: libc :: src/__support/FPUtil/libc.test.src.__support.FPUtil.fpbits_test.__hermetic__.__build__ (73 of 710)
PASS: libc :: src/__support/FPUtil/libc.test.src.__support.FPUtil.rounding_mode_test.__hermetic__.__build__ (74 of 710)
Step 12 (run check-libc-amdgcn-amd-amdhsa) failure: run check-libc-amdgcn-amd-amdhsa (failure)
...
PASS: libc :: integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_test.__build__ (48 of 710)
PASS: libc :: integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_stream_test.__build__ (49 of 710)
PASS: libc :: shared/libc.test.shared.shared_str_to_num_test.__hermetic__.__build__ (50 of 710)
PASS: libc :: shared/libc.test.shared.shared_math_check_exp_test.__hermetic__.__build__ (51 of 710)
PASS: libc :: shared/libc.test.shared.shared_math_test.__hermetic__.__build__ (52 of 710)
PASS: libc :: shared/libc.test.shared.shared_math_constexpr_test.__hermetic__.__build__ (53 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.array_test.__hermetic__.__build__ (54 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.algorithm_test.__hermetic__.__build__ (55 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.cstddef_test.__hermetic__.__build__ (56 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.atomic_test.__hermetic__.__build__ (57 of 710)
FAIL: libc :: integration/src/stdlib/gpu/libc.test.integration.src.stdlib.gpu.malloc_stress.__build__ (58 of 710)
******************** TEST 'libc :: integration/src/stdlib/gpu/libc.test.integration.src.stdlib.gpu.malloc_stress.__build__' FAILED ********************
No kernel launches known
OFFLOAD ERROR: memory access fault by GPU 2 (agent 0x5abb0e09d440) at virtual address (nil). Reasons: Unknown (0)
Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
 #0 0x0000746756a20c90 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/../lib/libLLVMSupport.so.23.0git+0x220c90)
 #1 0x0000746756a1d85c llvm::sys::RunSignalHandlers() (/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/../lib/libLLVMSupport.so.23.0git+0x21d85c)
 #2 0x0000746756a1d9c2 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x0000746756042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007467560969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #5 0x00007467560969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
 #6 0x00007467560969fc pthread_kill ./nptl/pthread_kill.c:89:10
 #7 0x0000746756042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
 #8 0x00007467560287f3 abort ./stdlib/abort.c:81:7
 #9 0x00007467557e1021 llvm::omp::target::plugin::ErrorReporter::reportMemoryAccessError(llvm::omp::target::plugin::GenericDeviceTy&, void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool) rtl.cpp:0:0
#10 0x00007467557df4f9 llvm::omp::target::plugin::AMDGPUPluginTy::eventHandler(hsa_amd_event_s const*, void*) rtl.cpp:0:0
#11 0x000074674ec839e9 (/opt/rocm/lib/libhsa-runtime64.so+0x839e9)
#12 0x000074674ec81d9c (/opt/rocm/lib/libhsa-runtime64.so+0x81d9c)
#13 0x000074674ec30bab (/opt/rocm/lib/libhsa-runtime64.so+0x30bab)
#14 0x0000746756094ac3 start_thread ./nptl/pthread_create.c:442:8
#15 0x00007467561268d0 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0

********************
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.int_seq_test.__hermetic__.__build__ (59 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.limits_test.__hermetic__.__build__ (60 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.bit_test.__hermetic__.__build__ (61 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.mutex_test.__hermetic__.__build__ (62 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.scope_test.__hermetic__.__build__ (63 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.optional_test.__hermetic__.__build__ (64 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.bitset_test.__hermetic__.__build__ (65 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.simd_test.__hermetic__.__build__ (66 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.span_test.__hermetic__.__build__ (67 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.string_test.__hermetic__.__build__ (68 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.stringstream_test.__hermetic__.__build__ (69 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.stringview_test.__hermetic__.__build__ (70 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.tuple_test.__hermetic__.__build__ (71 of 710)
PASS: libc :: src/__support/CPP/libc.test.src.__support.CPP.type_traits_test.__hermetic__.__build__ (72 of 710)
PASS: libc :: src/__support/FPUtil/libc.test.src.__support.FPUtil.fpbits_test.__hermetic__.__build__ (73 of 710)
PASS: libc :: src/__support/FPUtil/libc.test.src.__support.FPUtil.rounding_mode_test.__hermetic__.__build__ (74 of 710)

```

</details>

https://github.com/llvm/llvm-project/pull/202207


More information about the llvm-commits mailing list