diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-04-22 06:37:48 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-04-22 06:37:48 +0000 |
commit | 68318e0414dbafb61f92a3f1f1b3882efb0cb38f (patch) | |
tree | d1eb3b7bc164109dfd45724f293b8a6f0bc6d34d | |
parent | 9554c1339c02857bdb46c81d444dae245f7ff1c1 (diff) | |
download | bcm5719-llvm-68318e0414dbafb61f92a3f1f1b3882efb0cb38f.tar.gz bcm5719-llvm-68318e0414dbafb61f92a3f1f1b3882efb0cb38f.zip |
Fix some spelling mistakes
llvm-svn: 267112
-rw-r--r-- | llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 4 | ||||
-rw-r--r-- | llvm/unittests/ProfileData/InstrProfTest.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp index e27e11c39ad..d01be5c5844 100644 --- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -467,8 +467,8 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &mf) { bool CPChange = false; for (unsigned i = 0, e = CPUsers.size(); i != e; ++i) // For most inputs, it converges in no more than 5 iterations. - // If it doens't end in 10, the input may have huge BB or many CPEs. - // In this case, we will try differnt heuristics. + // If it doesn't end in 10, the input may have huge BB or many CPEs. + // In this case, we will try different heuristics. CPChange |= handleConstantPoolUser(i, NoCPIters >= CPMaxIteration / 2); if (CPChange && ++NoCPIters > CPMaxIteration) report_fatal_error("Constant Island pass failed to converge!"); diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp index a80be3d444a..e3999a4ed0b 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/unittests/ProfileData/InstrProfTest.cpp @@ -482,7 +482,7 @@ TEST_P(MaybeSparseInstrProfTest, get_icall_data_merge1) { {uint64_t(callee3), 3}}; Record11.addValueData(IPVK_IndirectCallTarget, 4, VD4, 3, nullptr); - // A differnt record for the same caller. + // A different record for the same caller. Record12.reserveSites(IPVK_IndirectCallTarget, 5); InstrProfValueData VD02[] = {{uint64_t(callee2), 5}, {uint64_t(callee3), 3}}; Record12.addValueData(IPVK_IndirectCallTarget, 0, VD02, 2, nullptr); |