@@ -383,12 +383,12 @@ impl Builder<'_, '_> {
383
383
64 => {
384
384
let u32_32 = self . constant_u32 ( self . span ( ) , 32 ) . def ( self ) ;
385
385
let arg = arg. def ( self ) ;
386
- let lower = self . emit ( ) . s_convert ( u32, None , arg) . unwrap ( ) ;
386
+ let lower = self . emit ( ) . u_convert ( u32, None , arg) . unwrap ( ) ;
387
387
let higher = self
388
388
. emit ( )
389
389
. shift_right_logical ( ty, None , arg, u32_32)
390
390
. unwrap ( ) ;
391
- let higher = self . emit ( ) . s_convert ( u32, None , higher) . unwrap ( ) ;
391
+ let higher = self . emit ( ) . u_convert ( u32, None , higher) . unwrap ( ) ;
392
392
393
393
let lower_bits = self . emit ( ) . bit_count ( u32, None , lower) . unwrap ( ) ;
394
394
let higher_bits = self . emit ( ) . bit_count ( u32, None , higher) . unwrap ( ) ;
@@ -438,12 +438,12 @@ impl Builder<'_, '_> {
438
438
64 => {
439
439
let u32_32 = self . constant_u32 ( self . span ( ) , 32 ) . def ( self ) ;
440
440
let arg = arg. def ( self ) ;
441
- let lower = self . emit ( ) . s_convert ( u32, None , arg) . unwrap ( ) ;
441
+ let lower = self . emit ( ) . u_convert ( u32, None , arg) . unwrap ( ) ;
442
442
let higher = self
443
443
. emit ( )
444
444
. shift_right_logical ( ty, None , arg, u32_32)
445
445
. unwrap ( ) ;
446
- let higher = self . emit ( ) . s_convert ( u32, None , higher) . unwrap ( ) ;
446
+ let higher = self . emit ( ) . u_convert ( u32, None , higher) . unwrap ( ) ;
447
447
448
448
// note that higher and lower have swapped
449
449
let higher_bits = self . emit ( ) . bit_reverse ( u32, None , lower) . unwrap ( ) ;
@@ -517,7 +517,7 @@ impl Builder<'_, '_> {
517
517
let converted = match bits {
518
518
8 | 16 => {
519
519
if trailing {
520
- let arg = self . emit ( ) . s_convert ( u32, None , arg. def ( self ) ) . unwrap ( ) ;
520
+ let arg = self . emit ( ) . u_convert ( u32, None , arg. def ( self ) ) . unwrap ( ) ;
521
521
find_xsb ( arg)
522
522
} else {
523
523
let arg = arg. def ( self ) ;
@@ -533,12 +533,12 @@ impl Builder<'_, '_> {
533
533
let u32_32 = self . constant_u32 ( self . span ( ) , 32 ) . def ( self ) ;
534
534
535
535
let arg = arg. def ( self ) ;
536
- let lower = self . emit ( ) . s_convert ( u32, None , arg) . unwrap ( ) ;
536
+ let lower = self . emit ( ) . u_convert ( u32, None , arg) . unwrap ( ) ;
537
537
let higher = self
538
538
. emit ( )
539
539
. shift_right_logical ( ty, None , arg, u32_32)
540
540
. unwrap ( ) ;
541
- let higher = self . emit ( ) . s_convert ( u32, None , higher) . unwrap ( ) ;
541
+ let higher = self . emit ( ) . u_convert ( u32, None , higher) . unwrap ( ) ;
542
542
543
543
let lower_bits = find_xsb ( lower) ;
544
544
let higher_bits = find_xsb ( higher) ;
0 commit comments