[llvm-branch-commits] [llvm] InstCombine: Implement SimplifyDemandedFPClass for sqrt (PR #173883)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 29 09:56:20 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 128976 tests passed
* 2842 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.Transforms/Attributor/AMDGPU/nofpclass-amdgcn-log.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes=attributor -attributor-manifest-internal < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\AMDGPU\nofpclass-amdgcn-log.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --allow-unused-prefixes C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\AMDGPU\nofpclass-amdgcn-log.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S -passes=attributor -attributor-manifest-internal
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --allow-unused-prefixes 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\AMDGPU\nofpclass-amdgcn-log.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\AMDGPU\nofpclass-amdgcn-log.ll:15:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define nofpclass(nzero sub) float @ret_log_f32(
# |                ^
# | <stdin>:5:43: note: scanning from here
# | define nofpclass(nzero) half @ret_log_f16(half %arg) #0 {
# |                                           ^
# | <stdin>:11:1: note: possible intended match here
# | define nofpclass(nzero) float @ret_log_f32(float %arg) #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\AMDGPU\nofpclass-amdgcn-log.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "<stdin>" 
# |             3:  
# |             4: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# |             5: define nofpclass(nzero) half @ret_log_f16(half %arg) #0 { 
# | label:15'0                                               X~~~~~~~~~~~~~~~ error: no match found
# |             6:  %call = call nofpclass(nzero) half @llvm.amdgcn.log.f16(half %arg) #7 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7:  ret half %call 
# | label:15'0     ~~~~~~~~~~~~~~~~
# |             8: } 
# | label:15'0     ~~
# |             9:  
# | label:15'0     ~
# |            10: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11: define nofpclass(nzero) float @ret_log_f32(float %arg) #0 { 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:15'1     ?                                                            possible intended match
# |            12:  %call = call nofpclass(nzero) float @llvm.amdgcn.log.f32(float %arg) #7 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            13:  ret float %call 
# | label:15'0     ~~~~~~~~~~~~~~~~~
# |            14: } 
# | label:15'0     ~~
# |            15:  
# | label:15'0     ~
# |            16: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-branch-commits mailing list