@@ -398,88 +398,88 @@ void test_s_sendmsghalt_var(int in)
398
398
__builtin_amdgcn_s_sendmsghalt (1 , in );
399
399
}
400
400
401
- // CHECK-LABEL: @test_wave_reduce_add_i32_default
401
+ // CHECK-LABEL: @test_wave_reduce_add_u32_default
402
402
// CHECK: {{.*}}call{{.*}} i32 @llvm.amdgcn.wave.reduce.add.i32(
403
- void test_wave_reduce_add_i32_default (global int * out , int in )
403
+ void test_wave_reduce_add_u32_default (global int * out , int in )
404
404
{
405
- * out = __builtin_amdgcn_wave_reduce_add_i32 (in , 0 );
405
+ * out = __builtin_amdgcn_wave_reduce_add_u32 (in , 0 );
406
406
}
407
407
408
- // CHECK-LABEL: @test_wave_reduce_add_i64_default
408
+ // CHECK-LABEL: @test_wave_reduce_add_u64_default
409
409
// CHECK: {{.*}}call{{.*}} i64 @llvm.amdgcn.wave.reduce.add.i64(
410
- void test_wave_reduce_add_i64_default (global int * out , long in )
410
+ void test_wave_reduce_add_u64_default (global int * out , long in )
411
411
{
412
- * out = __builtin_amdgcn_wave_reduce_add_i64 (in , 0 );
412
+ * out = __builtin_amdgcn_wave_reduce_add_u64 (in , 0 );
413
413
}
414
414
415
- // CHECK-LABEL: @test_wave_reduce_add_i32_iterative
415
+ // CHECK-LABEL: @test_wave_reduce_add_u32_iterative
416
416
// CHECK: {{.*}}call{{.*}} i32 @llvm.amdgcn.wave.reduce.add.i32(
417
- void test_wave_reduce_add_i32_iterative (global int * out , int in )
417
+ void test_wave_reduce_add_u32_iterative (global int * out , int in )
418
418
{
419
- * out = __builtin_amdgcn_wave_reduce_add_i32 (in , 1 );
419
+ * out = __builtin_amdgcn_wave_reduce_add_u32 (in , 1 );
420
420
}
421
421
422
- // CHECK-LABEL: @test_wave_reduce_add_i64_iterative
422
+ // CHECK-LABEL: @test_wave_reduce_add_u64_iterative
423
423
// CHECK: {{.*}}call{{.*}} i64 @llvm.amdgcn.wave.reduce.add.i64(
424
- void test_wave_reduce_add_i64_iterative (global int * out , long in )
424
+ void test_wave_reduce_add_u64_iterative (global int * out , long in )
425
425
{
426
- * out = __builtin_amdgcn_wave_reduce_add_i64 (in , 1 );
426
+ * out = __builtin_amdgcn_wave_reduce_add_u64 (in , 1 );
427
427
}
428
428
429
- // CHECK-LABEL: @test_wave_reduce_add_i32_dpp
429
+ // CHECK-LABEL: @test_wave_reduce_add_u32_dpp
430
430
// CHECK: {{.*}}call{{.*}} i32 @llvm.amdgcn.wave.reduce.add.i32(
431
- void test_wave_reduce_add_i32_dpp (global int * out , int in )
431
+ void test_wave_reduce_add_u32_dpp (global int * out , int in )
432
432
{
433
- * out = __builtin_amdgcn_wave_reduce_add_i32 (in , 2 );
433
+ * out = __builtin_amdgcn_wave_reduce_add_u32 (in , 2 );
434
434
}
435
435
436
- // CHECK-LABEL: @test_wave_reduce_add_i64_dpp
436
+ // CHECK-LABEL: @test_wave_reduce_add_u64_dpp
437
437
// CHECK: {{.*}}call{{.*}} i64 @llvm.amdgcn.wave.reduce.add.i64(
438
- void test_wave_reduce_add_i64_dpp (global int * out , long in )
438
+ void test_wave_reduce_add_u64_dpp (global int * out , long in )
439
439
{
440
- * out = __builtin_amdgcn_wave_reduce_add_i64 (in , 2 );
440
+ * out = __builtin_amdgcn_wave_reduce_add_u64 (in , 2 );
441
441
}
442
442
443
- // CHECK-LABEL: @test_wave_reduce_sub_i32_default
443
+ // CHECK-LABEL: @test_wave_reduce_sub_u32_default
444
444
// CHECK: {{.*}}call{{.*}} i32 @llvm.amdgcn.wave.reduce.sub.i32(
445
- void test_wave_reduce_sub_i32_default (global int * out , int in )
445
+ void test_wave_reduce_sub_u32_default (global int * out , int in )
446
446
{
447
- * out = __builtin_amdgcn_wave_reduce_sub_i32 (in , 0 );
447
+ * out = __builtin_amdgcn_wave_reduce_sub_u32 (in , 0 );
448
448
}
449
449
450
- // CHECK-LABEL: @test_wave_reduce_sub_i64_default
450
+ // CHECK-LABEL: @test_wave_reduce_sub_u64_default
451
451
// CHECK: {{.*}}call{{.*}} i64 @llvm.amdgcn.wave.reduce.sub.i64(
452
- void test_wave_reduce_sub_i64_default (global int * out , long in )
452
+ void test_wave_reduce_sub_u64_default (global int * out , long in )
453
453
{
454
- * out = __builtin_amdgcn_wave_reduce_sub_i64 (in , 0 );
454
+ * out = __builtin_amdgcn_wave_reduce_sub_u64 (in , 0 );
455
455
}
456
456
457
- // CHECK-LABEL: @test_wave_reduce_sub_i32_iterative
457
+ // CHECK-LABEL: @test_wave_reduce_sub_u32_iterative
458
458
// CHECK: {{.*}}call{{.*}} i32 @llvm.amdgcn.wave.reduce.sub.i32(
459
- void test_wave_reduce_sub_i32_iterative (global int * out , int in )
459
+ void test_wave_reduce_sub_u32_iterative (global int * out , int in )
460
460
{
461
- * out = __builtin_amdgcn_wave_reduce_sub_i32 (in , 1 );
461
+ * out = __builtin_amdgcn_wave_reduce_sub_u32 (in , 1 );
462
462
}
463
463
464
- // CHECK-LABEL: @test_wave_reduce_sub_i64_iterative
464
+ // CHECK-LABEL: @test_wave_reduce_sub_u64_iterative
465
465
// CHECK: {{.*}}call{{.*}} i64 @llvm.amdgcn.wave.reduce.sub.i64(
466
- void test_wave_reduce_sub_i64_iterative (global int * out , long in )
466
+ void test_wave_reduce_sub_u64_iterative (global int * out , long in )
467
467
{
468
- * out = __builtin_amdgcn_wave_reduce_sub_i64 (in , 1 );
468
+ * out = __builtin_amdgcn_wave_reduce_sub_u64 (in , 1 );
469
469
}
470
470
471
- // CHECK-LABEL: @test_wave_reduce_sub_i32_dpp
471
+ // CHECK-LABEL: @test_wave_reduce_sub_u32_dpp
472
472
// CHECK: {{.*}}call{{.*}} i32 @llvm.amdgcn.wave.reduce.sub.i32(
473
- void test_wave_reduce_sub_i32_dpp (global int * out , int in )
473
+ void test_wave_reduce_sub_u32_dpp (global int * out , int in )
474
474
{
475
- * out = __builtin_amdgcn_wave_reduce_sub_i32 (in , 2 );
475
+ * out = __builtin_amdgcn_wave_reduce_sub_u32 (in , 2 );
476
476
}
477
477
478
- // CHECK-LABEL: @test_wave_reduce_sub_i64_dpp
478
+ // CHECK-LABEL: @test_wave_reduce_sub_u64_dpp
479
479
// CHECK: {{.*}}call{{.*}} i64 @llvm.amdgcn.wave.reduce.sub.i64(
480
- void test_wave_reduce_sub_i64_dpp (global int * out , long in )
480
+ void test_wave_reduce_sub_u64_dpp (global int * out , long in )
481
481
{
482
- * out = __builtin_amdgcn_wave_reduce_sub_i64 (in , 2 );
482
+ * out = __builtin_amdgcn_wave_reduce_sub_u64 (in , 2 );
483
483
}
484
484
485
485
// CHECK-LABEL: @test_wave_reduce_and_b32_default
0 commit comments