@@ -70,7 +70,7 @@ half test_refract_half(half I, half N, half ETA) {
70
70
// SPVCHECK-LABEL: define hidden spir_func noundef nofpclass(nan inf) <2 x half> @_Z18test_refract_half2Dv2_DhS_Dh(
71
71
// SPVCHECK-SAME: <2 x half> noundef nofpclass(nan inf) [[I:%.*]], <2 x half> noundef nofpclass(nan inf) [[N:%.*]], half noundef nofpclass(nan inf) [[ETA:%.*]]) #[[ATTR0:[0-9]+]] {
72
72
// SPVCHECK: [[ENTRY:.*:]]
73
- // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <2 x half> @llvm.spv.refract.v2f16.f16 (<2 x half> %{{.*}}, <2 x half> %{{.*}}, half %{{.*}})
73
+ // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <2 x half> @llvm.spv.refract.v2f16(<2 x half> %{{.*}}, <2 x half> %{{.*}}, half %{{.*}})
74
74
// SPVCHECK: ret <2 x half> [[SPV_REFRACT_I]]
75
75
//
76
76
half2 test_refract_half2 (half2 I, half2 N, half ETA) {
@@ -100,7 +100,7 @@ half2 test_refract_half2(half2 I, half2 N, half ETA) {
100
100
// SPVCHECK-LABEL: define hidden spir_func noundef nofpclass(nan inf) <3 x half> @_Z18test_refract_half3Dv3_DhS_Dh(
101
101
// SPVCHECK-SAME: <3 x half> noundef nofpclass(nan inf) [[I:%.*]], <3 x half> noundef nofpclass(nan inf) [[N:%.*]], half noundef nofpclass(nan inf) [[ETA:%.*]]) #[[ATTR0:[0-9]+]] {
102
102
// SPVCHECK: [[ENTRY:.*:]]
103
- // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <3 x half> @llvm.spv.refract.v3f16.f16 (<3 x half> %{{.*}}, <3 x half> %{{.*}}, half %{{.*}})
103
+ // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <3 x half> @llvm.spv.refract.v3f16(<3 x half> %{{.*}}, <3 x half> %{{.*}}, half %{{.*}})
104
104
// SPVCHECK: ret <3 x half> [[SPV_REFRACT_I]]
105
105
//
106
106
half3 test_refract_half3 (half3 I, half3 N, half ETA) {
@@ -130,7 +130,7 @@ half3 test_refract_half3(half3 I, half3 N, half ETA) {
130
130
// SPVCHECK-LABEL: define hidden spir_func noundef nofpclass(nan inf) <4 x half> @_Z18test_refract_half4Dv4_DhS_Dh(
131
131
// SPVCHECK-SAME: <4 x half> noundef nofpclass(nan inf) [[I:%.*]], <4 x half> noundef nofpclass(nan inf) [[N:%.*]], half noundef nofpclass(nan inf) [[ETA:%.*]]) #[[ATTR0:[0-9]+]] {
132
132
// SPVCHECK: [[ENTRY:.*:]]
133
- // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <4 x half> @llvm.spv.refract.v4f16.f16 (<4 x half> %{{.*}}, <4 x half> %{{.*}}, half %{{.*}})
133
+ // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <4 x half> @llvm.spv.refract.v4f16(<4 x half> %{{.*}}, <4 x half> %{{.*}}, half %{{.*}})
134
134
// SPVCHECK: ret <4 x half> [[SPV_REFRACT_I]]
135
135
//
136
136
half4 test_refract_half4 (half4 I, half4 N, half ETA) {
@@ -203,7 +203,7 @@ float test_refract_float(float I, float N, float ETA) {
203
203
// SPVCHECK-LABEL: define hidden spir_func noundef nofpclass(nan inf) <2 x float> @_Z19test_refract_float2Dv2_fS_f(
204
204
// SPVCHECK-SAME: <2 x float> noundef nofpclass(nan inf) [[I:%.*]], <2 x float> noundef nofpclass(nan inf) [[N:%.*]], float noundef nofpclass(nan inf) [[ETA:%.*]]) #[[ATTR0:[0-9]+]] {
205
205
// SPVCHECK: [[ENTRY:.*:]]
206
- // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <2 x float> @llvm.spv.refract.v2f32.f32 (<2 x float> %{{.*}}, <2 x float> %{{.*}}, float %{{.*}})
206
+ // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <2 x float> @llvm.spv.refract.v2f32(<2 x float> %{{.*}}, <2 x float> %{{.*}}, float %{{.*}})
207
207
// SPVCHECK: ret <2 x float> [[SPV_REFRACT_I]]
208
208
//
209
209
float2 test_refract_float2 (float2 I, float2 N, float ETA) {
@@ -233,7 +233,7 @@ float2 test_refract_float2(float2 I, float2 N, float ETA) {
233
233
// SPVCHECK-LABEL: define hidden spir_func noundef nofpclass(nan inf) <3 x float> @_Z19test_refract_float3Dv3_fS_f(
234
234
// SPVCHECK-SAME: <3 x float> noundef nofpclass(nan inf) [[I:%.*]], <3 x float> noundef nofpclass(nan inf) [[N:%.*]], float noundef nofpclass(nan inf) [[ETA:%.*]]) #[[ATTR0:[0-9]+]] {
235
235
// SPVCHECK: [[ENTRY:.*:]]
236
- // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <3 x float> @llvm.spv.refract.v3f32.f32 (<3 x float> %{{.*}}, <3 x float> %{{.*}}, float %{{.*}})
236
+ // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <3 x float> @llvm.spv.refract.v3f32(<3 x float> %{{.*}}, <3 x float> %{{.*}}, float %{{.*}})
237
237
// SPVCHECK: ret <3 x float> [[SPV_REFRACT_I]]
238
238
//
239
239
float3 test_refract_float3 (float3 I, float3 N, float ETA) {
@@ -263,7 +263,7 @@ float3 test_refract_float3(float3 I, float3 N, float ETA) {
263
263
// SPVCHECK-LABEL: define hidden spir_func noundef nofpclass(nan inf) <4 x float> @_Z19test_refract_float4Dv4_fS_f(
264
264
// SPVCHECK-SAME: <4 x float> noundef nofpclass(nan inf) %{{.*}}, <4 x float> noundef nofpclass(nan inf) %{{.*}}, float noundef nofpclass(nan inf) %{{.*}}) #[[ATTR0:[0-9]+]] {
265
265
// SPVCHECK: [[ENTRY:.*:]]
266
- // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <4 x float> @llvm.spv.refract.v4f32.f32 (<4 x float> %{{.*}}, <4 x float> %{{.*}}, float %{{.*}})
266
+ // SPVCHECK: [[SPV_REFRACT_I:%.*]] = call reassoc nnan ninf nsz arcp afn noundef <4 x float> @llvm.spv.refract.v4f32(<4 x float> %{{.*}}, <4 x float> %{{.*}}, float %{{.*}})
267
267
// SPVCHECK: ret <4 x float> [[SPV_REFRACT_I]]
268
268
//
269
269
float4 test_refract_float4 (float4 I, float4 N, float ETA) {
0 commit comments