[llvm] [AMDGPU] Remove redundant s_cmp_lg_* sX, 0 (PR #162352)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 18 07:45:28 PDT 2025


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 10 "Add check check-libc-amdgcn-amd-amdhsa".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 10 (Add check check-libc-amdgcn-amd-amdhsa) failure: test (failure)
...
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcVASPrintfTest.ManyReAlloc
[       OK ] LlvmLibcVASPrintfTest.ManyReAlloc (867 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[3158/3299] Running hermetic test libc.test.src.stdlib.lldiv_test.__hermetic__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcDivTest.SimpleTestlldiv_t
[       OK ] LlvmLibcDivTest.SimpleTestlldiv_t (9 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[3159/3299] Running hermetic test libc.test.src.stdlib.heap_sort_test.__hermetic__
FAILED: libc/test/src/stdlib/libc.test.src.stdlib.heap_sort_test.__hermetic__.__cmd__ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/src/stdlib/libc.test.src.stdlib.heap_sort_test.__hermetic__.__cmd__ 
cd /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/src/stdlib && /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/amdhsa-loader /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/src/stdlib/libc.test.src.stdlib.heap_sort_test.__hermetic__.__build__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcHeapSortTest.DifferentElemSizeArray
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/test/src/stdlib/SortingTest.h:345: FAILURE
      Expected: buf_val
      Which is: 42
To be equal to: expected_elem_val
      Which is: 0
elem_size: 1 buf_i: 0
[  FAILED  ] LlvmLibcHeapSortTest.DifferentElemSizeArray
Ran 1 tests.  PASS: 0  FAIL: 1
[3160/3299] Running hermetic test libc.test.src.stdlib.bsearch_test.__hermetic__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcBsearchTest.SameKeyAndArray
[       OK ] LlvmLibcBsearchTest.SameKeyAndArray (9 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[3161/3299] Running hermetic test libc.test.src.stdlib.qsort_r_test.__hermetic__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcQsortRTest.SafeTypeErasure
[       OK ] LlvmLibcQsortRTest.SafeTypeErasure (43 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[3162/3299] Linking CXX executable libc/test/src/inttypes/libc.test.src.inttypes.strtoumax_test.__hermetic__.__build__
[3163/3299] Linking CXX executable libc/test/src/inttypes/libc.test.src.inttypes.strtoimax_test.__hermetic__.__build__
[3164/3299] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_test.__hermetic__.__build__
[3165/3299] Running hermetic test libc.test.src.stdlib.quick_sort_test.__hermetic__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcQsortTest.DifferentElemSizeArray
[       OK ] LlvmLibcQsortTest.DifferentElemSizeArray (379 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[3166/3299] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtof_test.__hermetic__.__build__
[3167/3299] Linking CXX executable libc/test/src/time/libc.test.src.time.strftime_test.__hermetic__.__build__
[3168/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpf16_test.__hermetic__.__build__
[3169/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpx_test.__hermetic__.__build__
[3170/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.ufromfpf16_test.__hermetic__.__build__
[3171/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.ufromfpxf16_test.__hermetic__.__build__
[3172/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.ufromfpxl_test.__hermetic__.__build__
[3173/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.ufromfpl_test.__hermetic__.__build__
[3174/3299] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.ufromfp_test.__hermetic__.__build__

```

</details>

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


More information about the llvm-commits mailing list