[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:06:25 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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-powr.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/b/ml-opt-devrel-x86-64-b1/build/bin/opt -S -mtriple=amdgcn-amd-amdhsa -passes=amdgpu-simplifylib,instcombine -amdgpu-prelink /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/opt -S -mtriple=amdgcn-amd-amdhsa -passes=amdgpu-simplifylib,instcombine -amdgpu-prelink /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll
# .---command stderr------------
# | /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll:87:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP3:%.*]] = call nnan afn float @llvm.fabs.f32(float [[TMP2]])
# |               ^
# | <stdin>:88:64: note: scanning from here
# |  %2 = select nnan afn i1 %1, float 0x7FF8000000000000, float %x
# |                                                                ^
# | <stdin>:88:64: note: with "TMP2" equal to "%2"
# |  %2 = select nnan afn i1 %1, float 0x7FF8000000000000, float %x
# |                                                                ^
# | <stdin>:89:2: note: possible intended match here
# |  %3 = call nnan afn float @llvm.fabs.f32(float %x)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           83:  ret float %26 
# |           84: } 
# |           85:  
# |           86: define float @test_powr_afn_f32_nnan(float %x, float %y) { 
# |           87:  %1 = fcmp nnan afn olt float %x, 0.000000e+00 
# |           88:  %2 = select nnan afn i1 %1, float 0x7FF8000000000000, float %x 
# | next:87'0                                                                    X error: no match found
# | next:87'1                                                                      with "TMP2" equal to "%2"
# |           89:  %3 = call nnan afn float @llvm.fabs.f32(float %x) 
# | next:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:87'2      ?                                                  possible intended match
# |           90:  %4 = call nnan afn float @llvm.log2.f32(float %3) 
# | next:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           91:  %5 = fmul nnan afn float %y, %4 
# | next:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           92:  %6 = call nnan afn float @llvm.exp2.f32(float %5) 
# | next:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list