Skip to content

Commit d047488

Browse files
committed
[SandboxVec] Fix build warnings in VecUtilsTest
1 parent 320389d commit d047488

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/unittests/Transforms/Vectorize/SandboxVectorizer/VecUtilsTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,13 @@ define <4 x float> @foo(float %v, <2 x float> %v2, <4 x float> %ret, ptr %ptr) {
389389
auto *Ret = cast<sandboxir::ReturnInst>(&*It++);
390390
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(S0->getValueOperand()->getType()),
391391
1u);
392-
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(S0), 1);
392+
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(S0), 1u);
393393
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(S1->getValueOperand()->getType()),
394394
2u);
395-
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(S1), 2);
395+
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(S1), 2u);
396396
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(Ret->getReturnValue()->getType()),
397397
4u);
398-
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(Ret), 4);
398+
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(Ret), 4u);
399399

400400
SmallVector<sandboxir::Value *> Bndl({S0, S1, Ret});
401401
EXPECT_EQ(sandboxir::VecUtils::getNumLanes(Bndl), 7u);

0 commit comments

Comments
 (0)