projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6161412
)
InstrProfTest.cpp: Fix a warning. [-Wsign-compare]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 8 Jan 2016 07:58:20 +0000
(07:58 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 8 Jan 2016 07:58:20 +0000
(07:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257157
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/ProfileData/InstrProfTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/ProfileData/InstrProfTest.cpp
b/unittests/ProfileData/InstrProfTest.cpp
index 2012e05e3b281a5e57b9e3f658cc33f612141794..51f52f2a0771114432f531998f9467107c2ab73c 100644
(file)
--- a/
unittests/ProfileData/InstrProfTest.cpp
+++ b/
unittests/ProfileData/InstrProfTest.cpp
@@
-476,7
+476,7
@@
TEST_F(InstrProfTest, get_icall_data_merge_site_trunc) {
R.get().getValueForSite(IPVK_IndirectCallTarget, 0));
ASSERT_EQ(2U, R.get().getNumValueSites(IPVK_IndirectCallTarget));
ASSERT_EQ(255U, R.get().getNumValueDataForSite(IPVK_IndirectCallTarget, 0));
- for (
int
I = 0; I < 255; I++) {
+ for (
unsigned
I = 0; I < 255; I++) {
ASSERT_EQ(VD[I].Value, 509 - I);
ASSERT_EQ(VD[I].Count, 1509 - I);
}