summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/InstructionsTest.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-01-14 09:21:49 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-01-14 09:21:49 +0000
commit3557b882386a2f37e5a3979810c1d738732139bc (patch)
treeec2297a412d0012fbed76d87a3540ea3e9c87509 /llvm/unittests/IR/InstructionsTest.cpp
parent65c0120193feebdd6e72f4acf9f15a0fdd1433c9 (diff)
downloadbcm5719-llvm-3557b882386a2f37e5a3979810c1d738732139bc.tar.gz
bcm5719-llvm-3557b882386a2f37e5a3979810c1d738732139bc.zip
InstructionsTest.cpp: Fix a warning. [-Wsign-compare]
llvm-svn: 257752
Diffstat (limited to 'llvm/unittests/IR/InstructionsTest.cpp')
-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 53c38470963..670da684555 100644
--- a/llvm/unittests/IR/InstructionsTest.cpp
+++ b/llvm/unittests/IR/InstructionsTest.cpp
@@ -570,7 +570,7 @@ TEST(InstructionsTest, AlterInvokeBundles) {
EXPECT_EQ(Invoke->getCallingConv(), Clone->getCallingConv());
EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold));
EXPECT_EQ(Invoke->getDebugLoc(), Clone->getDebugLoc());
- EXPECT_EQ(Clone->getNumOperandBundles(), 1);
+ EXPECT_EQ(Clone->getNumOperandBundles(), 1U);
EXPECT_TRUE(Clone->getOperandBundle("after").hasValue());
delete Invoke;
OpenPOWER on IntegriCloud