[llvm] AMDGPU: Libcall expand fast pow/powr/pown/rootn for float case (PR #180553)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 12:10:22 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -S -mtriple=amdgcn-amd-amdhsa -passes=amdgpu-simplifylib,instcombine -amdgpu-prelink /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
# executed command: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -S -mtriple=amdgcn-amd-amdhsa -passes=amdgpu-simplifylib,instcombine -amdgpu-prelink /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
# executed command: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
# .---command stderr------------
# | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll:1588:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP2:%.*]] = call nnan ninf afn float @llvm.fabs.f32(float [[X]])
# |               ^
# | <stdin>:945:62: note: scanning from here
# |  %1 = call nnan ninf afn float @llvm.amdgcn.rcp.f32(float %0)
# |                                                              ^
# | <stdin>:945:62: note: with "X" equal to "%x"
# |  %1 = call nnan ninf afn float @llvm.amdgcn.rcp.f32(float %0)
# |                                                              ^
# | <stdin>:946:2: note: possible intended match here
# |  %2 = call nnan ninf afn float @llvm.log2.f32(float %x)
# |  ^
# | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll:1694:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP2:%.*]] = call fast float @llvm.fabs.f32(float [[X]])
# |               ^
# | <stdin>:1018:53: note: scanning from here
# |  %1 = call fast float @llvm.amdgcn.rcp.f32(float %0)
# |                                                     ^
# | <stdin>:1018:53: note: with "X" equal to "%x"
# |  %1 = call fast float @llvm.amdgcn.rcp.f32(float %0)
# |                                                     ^
# | <stdin>:1019:2: note: possible intended match here
# |  %2 = call fast float @llvm.log2.f32(float %x)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            940: } 
# |            941:  
# |            942: define float @test_rootn_afn_ninf_nnan_f32__x_known_positive(float nofpclass(ninf nsub nnorm) %x, i32 %y) { 
# |            943: entry: 
# |            944:  %0 = sitofp i32 %y to float 
...

```

</details>

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


More information about the llvm-commits mailing list