@@ -3747,18 +3747,19 @@ TEST(APIntTest, TryExt) {
37473747TEST (APIntTest, Fshl) {
37483748 EXPECT_EQ (
37493749 APIntOps::fshl (APInt (8 , 0 ), APInt (8 , 255 ), APInt (8 , 8 )).getZExtValue (),
3750- 0 );
3750+ 0U );
37513751 EXPECT_EQ (
37523752 APIntOps::fshl (APInt (8 , 255 ), APInt (8 , 0 ), APInt (8 , 8 )).getZExtValue (),
3753- 255 );
3753+ 255U );
37543754 EXPECT_EQ (
37553755 APIntOps::fshl (APInt (8 , 255 ), APInt (8 , 0 ), APInt (8 , 15 )).getZExtValue (),
3756- 128 );
3756+ 128U );
37573757 EXPECT_EQ (
37583758 APIntOps::fshl (APInt (8 , 15 ), APInt (8 , 15 ), APInt (8 , 11 )).getZExtValue (),
3759- 120 );
3759+ 120U );
37603760 EXPECT_EQ (
3761- APIntOps::fshl (APInt (8 , 2 ), APInt (8 , 1 ), APInt (8 , 3 )).getZExtValue (), 16 );
3761+ APIntOps::fshl (APInt (8 , 2 ), APInt (8 , 1 ), APInt (8 , 3 )).getZExtValue (),
3762+ 16U );
37623763 EXPECT_EQ (
37633764 APIntOps::fshl (APInt (8 , 2 ), APInt (8 , 1 ), APInt (8 , 1 )).getZExtValue (),
37643765 APIntOps::fshl (APInt (8 , 2 ), APInt (8 , 1 ), APInt (8 , 9 )).getZExtValue ());
@@ -3785,18 +3786,19 @@ TEST(APIntTest, Fshl) {
37853786TEST (APIntTest, Fshr) {
37863787 EXPECT_EQ (
37873788 APIntOps::fshr (APInt (8 , 0 ), APInt (8 , 255 ), APInt (8 , 8 )).getZExtValue (),
3788- 255 );
3789+ 255U );
37893790 EXPECT_EQ (
37903791 APIntOps::fshr (APInt (8 , 255 ), APInt (8 , 0 ), APInt (8 , 8 )).getZExtValue (),
3791- 0 );
3792+ 0U );
37923793 EXPECT_EQ (
37933794 APIntOps::fshr (APInt (8 , 255 ), APInt (8 , 0 ), APInt (8 , 15 )).getZExtValue (),
3794- 254 );
3795+ 254U );
37953796 EXPECT_EQ (
37963797 APIntOps::fshr (APInt (8 , 15 ), APInt (8 , 15 ), APInt (8 , 11 )).getZExtValue (),
3797- 225 );
3798+ 225U );
37983799 EXPECT_EQ (
3799- APIntOps::fshr (APInt (8 , 1 ), APInt (8 , 2 ), APInt (8 , 3 )).getZExtValue (), 32 );
3800+ APIntOps::fshr (APInt (8 , 1 ), APInt (8 , 2 ), APInt (8 , 3 )).getZExtValue (),
3801+ 32U );
38003802 EXPECT_EQ (
38013803 APIntOps::fshr (APInt (8 , 1 ), APInt (8 , 2 ), APInt (8 , 1 )).getZExtValue (),
38023804 APIntOps::fshr (APInt (8 , 1 ), APInt (8 , 2 ), APInt (8 , 9 )).getZExtValue ());
0 commit comments