[llvm] [IR] Drop parameter attributes (PR #195516)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 3 04:41:58 PDT 2026


github-actions[bot] wrote:

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

* 134120 tests passed
* 3223 tests skipped
* 1 test failed

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

### Clang
<details>
<summary>Clang.Headers/__clang_hip_math.hip</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -include __clang_hip_runtime_wrapper.h    -internal-isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers    -internal-isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include    -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown    -target-cpu gfx906 -emit-llvm C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip -fcuda-is-device -O1 -o -    -D__HIPCC_RTC__ | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,DEFAULT C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers' -internal-isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include' -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu gfx906 -emit-llvm 'C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip' -fcuda-is-device -O1 -o - -D__HIPCC_RTC__
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,DEFAULT 'C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip'
# note: command had no output on stdout or stderr
# RUN: at line 14
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -include __clang_hip_runtime_wrapper.h    -internal-isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers    -internal-isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include    -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown    -target-cpu gfx906 -emit-llvm C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip -fcuda-is-device -O1 -menable-no-infs    -menable-no-nans -o -    -D__HIPCC_RTC__ | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,FINITEONLY C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers' -internal-isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include' -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu gfx906 -emit-llvm 'C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip' -fcuda-is-device -O1 -menable-no-infs -menable-no-nans -o - -D__HIPCC_RTC__
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,FINITEONLY 'C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip:2458:22: error: FINITEONLY-LABEL: expected string not found in input
# | // FINITEONLY-LABEL: define dso_local noundef nofpclass(nan inf) float @test_frexpf(
# |                      ^
# | <stdin>:674:63: note: scanning from here
# | define dso_local noundef nofpclass(nan inf) double @test_fmod(double noundef nofpclass(nan inf) %x, double noundef nofpclass(nan inf) %y) local_unnamed_addr #4 {
# |                                                               ^
# | <stdin>:701:1: note: possible intended match here
# | define dso_local noundef nofpclass(nan inf) float @test_hypotf(float noundef nofpclass(nan inf) %x, float noundef nofpclass(nan inf) %y) local_unnamed_addr #4 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |             669:  %call.i = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_fmod_f32(float noundef nofpclass(nan inf) %x, float noundef nofpclass(nan inf) %y) #13 
# |             670:  ret float %call.i 
# |             671: } 
# |             672:  
# |             673: ; Function Attrs: convergent mustprogress nofree nounwind willreturn memory(none) 
# |             674: define dso_local noundef nofpclass(nan inf) double @test_fmod(double noundef nofpclass(nan inf) %x, double noundef nofpclass(nan inf) %y) local_unnamed_addr #4 { 
# | label:2458'0                                                                   X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             675: entry: 
# | label:2458'0     ~~~~~~~
# |             676:  %call.i = tail call nnan ninf contract noundef nofpclass(nan inf) double @__ocml_fmod_f64(double noundef nofpclass(nan inf) %x, double noundef nofpclass(nan inf) %y) #13 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             677:  ret double %call.i 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~~
# |             678: } 
# | label:2458'0     ~~
# |             679:  
# | label:2458'0     ~
# |               .
# |               .
# |               .
# |             696:  %2 = extractvalue { double, i32 } %0, 0 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             697:  ret double %2 
# | label:2458'0     ~~~~~~~~~~~~~~~
# |             698: } 
# | label:2458'0     ~~
# |             699:  
# | label:2458'0     ~
# |             700: ; Function Attrs: convergent mustprogress nofree nounwind willreturn memory(none) 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             701: define dso_local noundef nofpclass(nan inf) float @test_hypotf(float noundef nofpclass(nan inf) %x, float noundef nofpclass(nan inf) %y) local_unnamed_addr #4 { 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:2458'1     ?                                                                                                                                                                 possible intended match
# |             702: entry: 
# | label:2458'0     ~~~~~~~
# |             703:  %call.i = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_hypot_f32(float noundef nofpclass(nan inf) %x, float noundef nofpclass(nan inf) %y) #13 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             704:  ret float %call.i 
# | label:2458'0     ~~~~~~~~~~~~~~~~~~~
# |             705: } 
# | label:2458'0     ~~
# |             706:  
# | label:2458'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/195516


More information about the llvm-commits mailing list