Skip to content

Commit bb4a5fd

Browse files
committed
Update tests
1 parent 586daea commit bb4a5fd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

clang/test/Headers/__clang_hip_math.hip

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@ extern "C" __device__ double test_fma_rn(double x, double y, double z) {
19851985
//
19861986
// NCRDIV-LABEL: @test_fmaxf(
19871987
// NCRDIV-NEXT: entry:
1988-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef float @llvm.maxnum.f32(float [[X:%.*]], float [[Y:%.*]])
1988+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef float @llvm.maxnum.f32(float [[X:%.*]], float [[Y:%.*]])
19891989
// NCRDIV-NEXT: ret float [[TMP0]]
19901990
//
19911991
// AMDGCNSPIRV-LABEL: @test_fmaxf(
@@ -2014,7 +2014,7 @@ extern "C" __device__ float test_fmaxf(float x, float y) {
20142014
//
20152015
// NCRDIV-LABEL: @test_fmax(
20162016
// NCRDIV-NEXT: entry:
2017-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef double @llvm.maxnum.f64(double [[X:%.*]], double [[Y:%.*]])
2017+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef double @llvm.maxnum.f64(double [[X:%.*]], double [[Y:%.*]])
20182018
// NCRDIV-NEXT: ret double [[TMP0]]
20192019
//
20202020
// AMDGCNSPIRV-LABEL: @test_fmax(
@@ -2043,7 +2043,7 @@ extern "C" __device__ double test_fmax(double x, double y) {
20432043
//
20442044
// NCRDIV-LABEL: @test_fminf(
20452045
// NCRDIV-NEXT: entry:
2046-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef float @llvm.minnum.f32(float [[X:%.*]], float [[Y:%.*]])
2046+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef float @llvm.minnum.f32(float [[X:%.*]], float [[Y:%.*]])
20472047
// NCRDIV-NEXT: ret float [[TMP0]]
20482048
//
20492049
// AMDGCNSPIRV-LABEL: @test_fminf(
@@ -2072,7 +2072,7 @@ extern "C" __device__ float test_fminf(float x, float y) {
20722072
//
20732073
// NCRDIV-LABEL: @test_fmin(
20742074
// NCRDIV-NEXT: entry:
2075-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef double @llvm.minnum.f64(double [[X:%.*]], double [[Y:%.*]])
2075+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef double @llvm.minnum.f64(double [[X:%.*]], double [[Y:%.*]])
20762076
// NCRDIV-NEXT: ret double [[TMP0]]
20772077
//
20782078
// AMDGCNSPIRV-LABEL: @test_fmin(
@@ -8140,7 +8140,7 @@ extern "C" __device__ double test__fma_rn(double x, double y, double z) {
81408140
//
81418141
// NCRDIV-LABEL: @test_float_min(
81428142
// NCRDIV-NEXT: entry:
8143-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef float @llvm.minnum.f32(float [[X:%.*]], float [[Y:%.*]])
8143+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef float @llvm.minnum.f32(float [[X:%.*]], float [[Y:%.*]])
81448144
// NCRDIV-NEXT: ret float [[TMP0]]
81458145
//
81468146
// AMDGCNSPIRV-LABEL: @test_float_min(
@@ -8169,7 +8169,7 @@ extern "C" __device__ float test_float_min(float x, float y) {
81698169
//
81708170
// NCRDIV-LABEL: @test_float_max(
81718171
// NCRDIV-NEXT: entry:
8172-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef float @llvm.maxnum.f32(float [[X:%.*]], float [[Y:%.*]])
8172+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef float @llvm.maxnum.f32(float [[X:%.*]], float [[Y:%.*]])
81738173
// NCRDIV-NEXT: ret float [[TMP0]]
81748174
//
81758175
// AMDGCNSPIRV-LABEL: @test_float_max(
@@ -8198,7 +8198,7 @@ extern "C" __device__ float test_float_max(float x, float y) {
81988198
//
81998199
// NCRDIV-LABEL: @test_double_min(
82008200
// NCRDIV-NEXT: entry:
8201-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef double @llvm.minnum.f64(double [[X:%.*]], double [[Y:%.*]])
8201+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef double @llvm.minnum.f64(double [[X:%.*]], double [[Y:%.*]])
82028202
// NCRDIV-NEXT: ret double [[TMP0]]
82038203
//
82048204
// AMDGCNSPIRV-LABEL: @test_double_min(
@@ -8227,7 +8227,7 @@ extern "C" __device__ double test_double_min(double x, double y) {
82278227
//
82288228
// NCRDIV-LABEL: @test_double_max(
82298229
// NCRDIV-NEXT: entry:
8230-
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call contract noundef double @llvm.maxnum.f64(double [[X:%.*]], double [[Y:%.*]])
8230+
// NCRDIV-NEXT: [[TMP0:%.*]] = tail call nsz contract noundef double @llvm.maxnum.f64(double [[X:%.*]], double [[Y:%.*]])
82318231
// NCRDIV-NEXT: ret double [[TMP0]]
82328232
//
82338233
// AMDGCNSPIRV-LABEL: @test_double_max(

0 commit comments

Comments
 (0)