diff options
author | Joseph Tremoulet <jotrem@microsoft.com> | 2016-01-14 06:30:19 +0000 |
---|---|---|
committer | Joseph Tremoulet <jotrem@microsoft.com> | 2016-01-14 06:30:19 +0000 |
commit | 56c9958beca24dc6038b8427b13a0a420365a6d6 (patch) | |
tree | ccd9865177818da4110059240b1d73293c4e8af1 | |
parent | c6615cdce523172287863e87f9f86dd0f9335d2d (diff) | |
download | bcm5719-llvm-56c9958beca24dc6038b8427b13a0a420365a6d6.tar.gz bcm5719-llvm-56c9958beca24dc6038b8427b13a0a420365a6d6.zip |
[UnitTest] Fix warning, NFC.
Use an unsigned literal to avoid signedness mismatch in the compare.
llvm-svn: 257747
-rw-r--r-- | llvm/unittests/IR/InstructionsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/IR/InstructionsTest.cpp b/llvm/unittests/IR/InstructionsTest.cpp index afcccb31de1..53c38470963 100644 --- a/llvm/unittests/IR/InstructionsTest.cpp +++ b/llvm/unittests/IR/InstructionsTest.cpp @@ -541,7 +541,7 @@ TEST(InstructionsTest, AlterCallBundles) { EXPECT_EQ(Call->getTailCallKind(), Clone->getTailCallKind()); EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold)); EXPECT_EQ(Call->getDebugLoc(), Clone->getDebugLoc()); - EXPECT_EQ(Clone->getNumOperandBundles(), 1); + EXPECT_EQ(Clone->getNumOperandBundles(), 1U); EXPECT_TRUE(Clone->getOperandBundle("after").hasValue()); } |