@@ -56,6 +56,7 @@ float4 test_builtin_image_load_2d_1(float4 v4f32, int i32, int8 vec8i32) {
56
56
57
57
return __builtin_amdgcn_image_load_2d_v4f32_i32 (100 , i32 , i32 , vec8i32 , 120 , 110 );
58
58
}
59
+
59
60
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_2d_2(
60
61
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
61
62
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -106,6 +107,7 @@ float test_builtin_image_load_2darray(float f32, int i32, int8 vec8i32) {
106
107
107
108
return __builtin_amdgcn_image_load_2darray_f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
108
109
}
110
+
109
111
// CHECK-LABEL: define dso_local <4 x float> @test_builtin_image_load_2darray_1(
110
112
// CHECK-SAME: <4 x float> noundef [[V4F32:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
111
113
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -131,6 +133,7 @@ float4 test_builtin_image_load_2darray_1(float4 v4f32, int i32, int8 vec8i32) {
131
133
132
134
return __builtin_amdgcn_image_load_2darray_v4f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
133
135
}
136
+
134
137
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_2darray_2(
135
138
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
136
139
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -180,6 +183,7 @@ float4 test_builtin_image_load_1d_1(float4 v4f32, int i32, int8 vec8i32) {
180
183
181
184
return __builtin_amdgcn_image_load_1d_v4f32_i32 (100 , i32 , vec8i32 , 120 , 110 );
182
185
}
186
+
183
187
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_1d_2(
184
188
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
185
189
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -228,6 +232,7 @@ float4 test_builtin_image_load_1darray_1(float4 v4f32, int i32, int8 vec8i32) {
228
232
229
233
return __builtin_amdgcn_image_load_1darray_v4f32_i32 (100 , i32 , i32 , vec8i32 , 120 , 110 );
230
234
}
235
+
231
236
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_1darray_2(
232
237
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
233
238
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -278,6 +283,7 @@ float4 test_builtin_image_load_3d_1(float4 v4f32, int i32, int8 vec8i32) {
278
283
279
284
return __builtin_amdgcn_image_load_3d_v4f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
280
285
}
286
+
281
287
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_3d_2(
282
288
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
283
289
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -329,6 +335,7 @@ float4 test_builtin_image_load_cube_1(float4 v4f32, int i32, int8 vec8i32) {
329
335
330
336
return __builtin_amdgcn_image_load_cube_v4f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
331
337
}
338
+
332
339
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_cube_2(
333
340
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
334
341
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -379,6 +386,7 @@ float4 test_builtin_image_load_mip_1d_1(float4 v4f32, int i32, int8 vec8i32) {
379
386
380
387
return __builtin_amdgcn_image_load_mip_1d_v4f32_i32 (100 , i32 , i32 , vec8i32 , 120 , 110 );
381
388
}
389
+
382
390
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_mip_1d_2(
383
391
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
384
392
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -429,6 +437,7 @@ float4 test_builtin_image_load_mip_1darray_1(float4 v4f32, int i32, int8 vec8i32
429
437
430
438
return __builtin_amdgcn_image_load_mip_1darray_v4f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
431
439
}
440
+
432
441
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_mip_1darray_2(
433
442
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
434
443
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -480,6 +489,7 @@ float test_builtin_image_load_mip_2d(float f32, int i32, int8 vec8i32) {
480
489
481
490
return __builtin_amdgcn_image_load_mip_2d_f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
482
491
}
492
+
483
493
// CHECK-LABEL: define dso_local <4 x float> @test_builtin_image_load_mip_2d_1(
484
494
// CHECK-SAME: <4 x float> noundef [[V4F32:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
485
495
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -505,6 +515,7 @@ float4 test_builtin_image_load_mip_2d_1(float4 v4f32, int i32, int8 vec8i32) {
505
515
506
516
return __builtin_amdgcn_image_load_mip_2d_v4f32_i32 (100 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
507
517
}
518
+
508
519
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_mip_2d_2(
509
520
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
510
521
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -557,6 +568,7 @@ float test_builtin_image_load_mip_2darray(float f32, int i32, int8 vec8i32) {
557
568
558
569
return __builtin_amdgcn_image_load_mip_2darray_f32_i32 (100 , i32 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
559
570
}
571
+
560
572
// CHECK-LABEL: define dso_local <4 x float> @test_builtin_image_load_mip_2darray_1(
561
573
// CHECK-SAME: <4 x float> noundef [[V4F32:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
562
574
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -583,6 +595,7 @@ float4 test_builtin_image_load_mip_2darray_1(float4 v4f32, int i32, int8 vec8i32
583
595
584
596
return __builtin_amdgcn_image_load_mip_2darray_v4f32_i32 (100 , i32 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
585
597
}
598
+
586
599
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_mip_2darray_2(
587
600
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
588
601
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -636,6 +649,7 @@ float4 test_builtin_image_load_mip_3d_1(float4 v4f32, int i32, int8 vec8i32) {
636
649
637
650
return __builtin_amdgcn_image_load_mip_3d_v4f32_i32 (100 , i32 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
638
651
}
652
+
639
653
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_mip_3d_2(
640
654
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
641
655
// CHECK-NEXT: [[ENTRY:.*:]]
@@ -689,6 +703,7 @@ float4 test_builtin_image_load_mip_cube_1(float4 v4f32, int i32, int8 vec8i32) {
689
703
690
704
return __builtin_amdgcn_image_load_mip_cube_v4f32_i32 (100 , i32 , i32 , i32 , i32 , vec8i32 , 120 , 110 );
691
705
}
706
+
692
707
// CHECK-LABEL: define dso_local <4 x half> @test_builtin_image_load_mip_cube_2(
693
708
// CHECK-SAME: <4 x half> noundef [[V4F16:%.*]], i32 noundef [[I32:%.*]], <8 x i32> noundef [[VEC8I32:%.*]]) #[[ATTR0]] {
694
709
// CHECK-NEXT: [[ENTRY:.*:]]
0 commit comments