[llvm] r267112 - Fix some spelling mistakes
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 23:37:49 PDT 2016
Author: majnemer
Date: Fri Apr 22 01:37:48 2016
New Revision: 267112
URL: http://llvm.org/viewvc/llvm-project?rev=267112&view=rev
Log:
Fix some spelling mistakes
Modified:
llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
llvm/trunk/unittests/ProfileData/InstrProfTest.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp?rev=267112&r1=267111&r2=267112&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp Fri Apr 22 01:37:48 2016
@@ -467,8 +467,8 @@ bool ARMConstantIslands::runOnMachineFun
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!");
Modified: llvm/trunk/unittests/ProfileData/InstrProfTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ProfileData/InstrProfTest.cpp?rev=267112&r1=267111&r2=267112&view=diff
==============================================================================
--- llvm/trunk/unittests/ProfileData/InstrProfTest.cpp (original)
+++ llvm/trunk/unittests/ProfileData/InstrProfTest.cpp Fri Apr 22 01:37:48 2016
@@ -482,7 +482,7 @@ TEST_P(MaybeSparseInstrProfTest, get_ica
{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);
More information about the llvm-commits
mailing list