@@ -1358,10 +1358,10 @@ fn generic_simd_intrinsic<'blk, 'tcx, 'a>
1358
1358
1359
1359
if let Some ( cmp_op) = comparison {
1360
1360
assert_eq ! ( arg_tys. len( ) , 2 ) ;
1361
- require ! ( arg_tys[ 0 ] . is_simd( tcx ) ,
1361
+ require ! ( arg_tys[ 0 ] . is_simd( ) ,
1362
1362
"SIMD comparison intrinsic monomorphized for non-SIMD argument type `{}`" ,
1363
1363
arg_tys[ 0 ] ) ;
1364
- require ! ( ret_ty. is_simd( tcx ) ,
1364
+ require ! ( ret_ty. is_simd( ) ,
1365
1365
"SIMD comparison intrinsic monomorphized for non-SIMD return type `{}`" ,
1366
1366
ret_ty) ;
1367
1367
@@ -1393,10 +1393,10 @@ fn generic_simd_intrinsic<'blk, 'tcx, 'a>
1393
1393
"bad `simd_shuffle` instruction only caught in trans?" )
1394
1394
} ;
1395
1395
1396
- require ! ( arg_tys[ 0 ] . is_simd( tcx ) ,
1396
+ require ! ( arg_tys[ 0 ] . is_simd( ) ,
1397
1397
"SIMD shuffle intrinsic monomorphized with non-SIMD input type `{}`" ,
1398
1398
arg_tys[ 0 ] ) ;
1399
- require ! ( ret_ty. is_simd( tcx ) ,
1399
+ require ! ( ret_ty. is_simd( ) ,
1400
1400
"SIMD shuffle intrinsic monomorphized for non-SIMD return type `{}`" ,
1401
1401
ret_ty) ;
1402
1402
@@ -1451,7 +1451,7 @@ fn generic_simd_intrinsic<'blk, 'tcx, 'a>
1451
1451
}
1452
1452
1453
1453
if name == "simd_insert" {
1454
- require ! ( arg_tys[ 0 ] . is_simd( tcx ) ,
1454
+ require ! ( arg_tys[ 0 ] . is_simd( ) ,
1455
1455
"SIMD insert intrinsic monomorphized for non-SIMD input type" ) ;
1456
1456
1457
1457
let elem_ty = arg_tys[ 0 ] . simd_type ( tcx) ;
@@ -1460,7 +1460,7 @@ fn generic_simd_intrinsic<'blk, 'tcx, 'a>
1460
1460
return InsertElement ( bcx, llargs[ 0 ] , llargs[ 2 ] , llargs[ 1 ] )
1461
1461
}
1462
1462
if name == "simd_extract" {
1463
- require ! ( arg_tys[ 0 ] . is_simd( tcx ) ,
1463
+ require ! ( arg_tys[ 0 ] . is_simd( ) ,
1464
1464
"SIMD insert intrinsic monomorphized for non-SIMD input type" ) ;
1465
1465
1466
1466
let elem_ty = arg_tys[ 0 ] . simd_type ( tcx) ;
@@ -1470,10 +1470,10 @@ fn generic_simd_intrinsic<'blk, 'tcx, 'a>
1470
1470
}
1471
1471
1472
1472
if name == "simd_cast" {
1473
- require ! ( arg_tys[ 0 ] . is_simd( tcx ) ,
1473
+ require ! ( arg_tys[ 0 ] . is_simd( ) ,
1474
1474
"SIMD cast intrinsic monomorphized with non-SIMD input type `{}`" ,
1475
1475
arg_tys[ 0 ] ) ;
1476
- require ! ( ret_ty. is_simd( tcx ) ,
1476
+ require ! ( ret_ty. is_simd( ) ,
1477
1477
"SIMD cast intrinsic monomorphized with non-SIMD return type `{}`" ,
1478
1478
ret_ty) ;
1479
1479
require ! ( arg_tys[ 0 ] . simd_size( tcx) == ret_ty. simd_size( tcx) ,
@@ -1614,7 +1614,7 @@ fn generic_simd_intrinsic<'blk, 'tcx, 'a>
1614
1614
( $( $name: ident: $( $( $p: ident) ,* => $call: expr) ,* ; ) * ) => {
1615
1615
$(
1616
1616
if name == stringify!( $name) {
1617
- require!( arg_tys[ 0 ] . is_simd( tcx ) ,
1617
+ require!( arg_tys[ 0 ] . is_simd( ) ,
1618
1618
"`{}` intrinsic monomorphized with non-SIMD type `{}`" ,
1619
1619
name, arg_tys[ 0 ] ) ;
1620
1620
let in_ = arg_tys[ 0 ] . simd_type( tcx) ;
0 commit comments