summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Tremoulet <jotrem@microsoft.com>2016-01-14 06:30:19 +0000
committerJoseph Tremoulet <jotrem@microsoft.com>2016-01-14 06:30:19 +0000
commit56c9958beca24dc6038b8427b13a0a420365a6d6 (patch)
treeccd9865177818da4110059240b1d73293c4e8af1
parentc6615cdce523172287863e87f9f86dd0f9335d2d (diff)
downloadbcm5719-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.cpp2
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());
}
OpenPOWER on IntegriCloud