projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some comment typos.
[oota-llvm.git]
/
lib
/
Target
/
Hexagon
/
HexagonHardwareLoops.cpp
diff --git
a/lib/Target/Hexagon/HexagonHardwareLoops.cpp
b/lib/Target/Hexagon/HexagonHardwareLoops.cpp
index 53b6bf617e8f5b24ab173fc8d2e1988992b78fda..e328880c9db28f5de8bcaa6467eb24b6a15389fb 100644
(file)
--- a/
lib/Target/Hexagon/HexagonHardwareLoops.cpp
+++ b/
lib/Target/Hexagon/HexagonHardwareLoops.cpp
@@
-727,9
+727,9
@@
CountValue *HexagonHardwareLoops::computeCount(MachineLoop *Loop,
// Phis that may feed into the loop.
LoopFeederMap LoopFeederPhi;
// Phis that may feed into the loop.
LoopFeederMap LoopFeederPhi;
- // Check if the inital value may be zero and can be decremented in the first
+ // Check if the init
i
al value may be zero and can be decremented in the first
// iteration. If the value is zero, the endloop instruction will not decrement
// iteration. If the value is zero, the endloop instruction will not decrement
- // the loop counter, so we shoudn't generate a hardware loop in this case.
+ // the loop counter, so we shou
l
dn't generate a hardware loop in this case.
if (loopCountMayWrapOrUnderFlow(Start, End, Loop->getLoopPreheader(), Loop,
LoopFeederPhi))
return nullptr;
if (loopCountMayWrapOrUnderFlow(Start, End, Loop->getLoopPreheader(), Loop,
LoopFeederPhi))
return nullptr;
@@
-1440,7
+1440,7
@@
bool HexagonHardwareLoops::loopCountMayWrapOrUnderFlow(
if (Comparison::isSigned(Cmp))
return false;
if (Comparison::isSigned(Cmp))
return false;
- // Check if there is a comparison of the inital value. If the initial value
+ // Check if there is a comparison of the init
i
al value. If the initial value
// is greater than or not equal to another value, then assume this is a
// range check.
if ((Cmp & Comparison::G) || Cmp == Comparison::NE)
// is greater than or not equal to another value, then assume this is a
// range check.
if ((Cmp & Comparison::G) || Cmp == Comparison::NE)