Skip to content

Commit a24b0c3

Browse files
committed
clang/AMDGPU: Regenerate test checks in hip header tests
1 parent a446c9b commit a24b0c3

File tree

2 files changed

+456
-456
lines changed

2 files changed

+456
-456
lines changed

clang/test/Headers/__clang_hip_cmath.hip

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,27 +61,27 @@ extern "C" __device__ float test_fabs_f32(float x) {
6161

6262
// DEFAULT-LABEL: @test_sin_f32(
6363
// DEFAULT-NEXT: entry:
64-
// DEFAULT-NEXT: [[CALL_I_I:%.*]] = tail call contract noundef float @__ocml_sin_f32(float noundef [[X:%.*]]) #[[ATTR8:[0-9]+]]
65-
// DEFAULT-NEXT: ret float [[CALL_I_I]]
64+
// DEFAULT-NEXT: [[CALL_I1:%.*]] = tail call contract noundef float @__ocml_sin_f32(float noundef [[X:%.*]]) #[[ATTR8:[0-9]+]]
65+
// DEFAULT-NEXT: ret float [[CALL_I1]]
6666
//
6767
// FINITEONLY-LABEL: @test_sin_f32(
6868
// FINITEONLY-NEXT: entry:
69-
// FINITEONLY-NEXT: [[CALL_I_I:%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_sin_f32(float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR8:[0-9]+]]
70-
// FINITEONLY-NEXT: ret float [[CALL_I_I]]
69+
// FINITEONLY-NEXT: [[CALL_I1:%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_sin_f32(float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR8:[0-9]+]]
70+
// FINITEONLY-NEXT: ret float [[CALL_I1]]
7171
//
7272
extern "C" __device__ float test_sin_f32(float x) {
7373
return sin(x);
7474
}
7575

7676
// DEFAULT-LABEL: @test_cos_f32(
7777
// DEFAULT-NEXT: entry:
78-
// DEFAULT-NEXT: [[CALL_I_I:%.*]] = tail call contract noundef float @__ocml_cos_f32(float noundef [[X:%.*]]) #[[ATTR8]]
79-
// DEFAULT-NEXT: ret float [[CALL_I_I]]
78+
// DEFAULT-NEXT: [[CALL_I1:%.*]] = tail call contract noundef float @__ocml_cos_f32(float noundef [[X:%.*]]) #[[ATTR8]]
79+
// DEFAULT-NEXT: ret float [[CALL_I1]]
8080
//
8181
// FINITEONLY-LABEL: @test_cos_f32(
8282
// FINITEONLY-NEXT: entry:
83-
// FINITEONLY-NEXT: [[CALL_I_I:%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_cos_f32(float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR8]]
84-
// FINITEONLY-NEXT: ret float [[CALL_I_I]]
83+
// FINITEONLY-NEXT: [[CALL_I1:%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_cos_f32(float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR8]]
84+
// FINITEONLY-NEXT: ret float [[CALL_I1]]
8585
//
8686
extern "C" __device__ float test_cos_f32(float x) {
8787
return cos(x);

0 commit comments

Comments
 (0)