diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-01-08 07:58:20 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-01-08 07:58:20 +0000 |
| commit | 249edf3d22c4b46059e1495ee120671aa47e3abd (patch) | |
| tree | c13f06fa7c50645fe3a4ec738185593cfd65ce0f /llvm/unittests | |
| parent | 190ecd5a1d95bf7f8a404d54de598693ea397dbe (diff) | |
| download | bcm5719-llvm-249edf3d22c4b46059e1495ee120671aa47e3abd.tar.gz bcm5719-llvm-249edf3d22c4b46059e1495ee120671aa47e3abd.zip | |
InstrProfTest.cpp: Fix a warning. [-Wsign-compare]
llvm-svn: 257157
Diffstat (limited to 'llvm/unittests')
| -rw-r--r-- | llvm/unittests/ProfileData/InstrProfTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp index 2012e05e3b2..51f52f2a077 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/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); } |

