forked from OSchip/llvm-project
[NFC] fix trivial typos in comments
"the the" -> "the" llvm-svn: 322636
This commit is contained in:
parent
3efd1c516c
commit
8f976ba0bf
|
@ -1830,7 +1830,7 @@ void LazyValueInfoAnnotatedWriter::emitInstructionAnnot(
|
|||
};
|
||||
|
||||
printResult(ParentBB);
|
||||
// Print the LVI analysis results for the the immediate successor blocks, that
|
||||
// Print the LVI analysis results for the immediate successor blocks, that
|
||||
// are dominated by `ParentBB`.
|
||||
for (auto *BBSucc : successors(ParentBB))
|
||||
if (DT.dominates(ParentBB, BBSucc))
|
||||
|
|
|
@ -165,7 +165,7 @@ public:
|
|||
/// necessary.
|
||||
Metadata *getMetadataFwdRef(unsigned Idx);
|
||||
|
||||
/// Return the the given metadata only if it is fully resolved.
|
||||
/// Return the given metadata only if it is fully resolved.
|
||||
///
|
||||
/// Gives the same result as \a lookup(), unless \a MDNode::isResolved()
|
||||
/// would give \c false.
|
||||
|
|
|
@ -198,7 +198,7 @@ class ImplicitNullChecks : public MachineFunctionPass {
|
|||
SuitabilityResult isSuitableMemoryOp(MachineInstr &MI, unsigned PointerReg,
|
||||
ArrayRef<MachineInstr *> PrevInsts);
|
||||
|
||||
/// Return true if \p FaultingMI can be hoisted from after the the
|
||||
/// Return true if \p FaultingMI can be hoisted from after the
|
||||
/// instructions in \p InstsSeenSoFar to before them. Set \p Dependence to a
|
||||
/// non-null value if we also need to (and legally can) hoist a depedency.
|
||||
bool canHoistInst(MachineInstr *FaultingMI, unsigned PointerReg,
|
||||
|
|
|
@ -138,7 +138,7 @@ static cl::opt<bool> EnableSWPOptSize("enable-pipeliner-opt-size",
|
|||
|
||||
/// A command line argument to limit minimum initial interval for pipelining.
|
||||
static cl::opt<int> SwpMaxMii("pipeliner-max-mii",
|
||||
cl::desc("Size limit for the the MII."),
|
||||
cl::desc("Size limit for the MII."),
|
||||
cl::Hidden, cl::init(27));
|
||||
|
||||
/// A command line argument to limit the number of stages in the pipeline.
|
||||
|
@ -313,7 +313,7 @@ public:
|
|||
/// Return the latest time an instruction my be scheduled.
|
||||
int getALAP(SUnit *Node) { return ScheduleInfo[Node->NodeNum].ALAP; }
|
||||
|
||||
/// The mobility function, which the the number of slots in which
|
||||
/// The mobility function, which the number of slots in which
|
||||
/// an instruction may be scheduled.
|
||||
int getMOV(SUnit *Node) { return getALAP(Node) - getASAP(Node); }
|
||||
|
||||
|
@ -970,7 +970,7 @@ static unsigned getInitPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
/// Return the Phi register value that comes the the loop block.
|
||||
/// Return the Phi register value that comes the loop block.
|
||||
static unsigned getLoopPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) {
|
||||
for (unsigned i = 1, e = Phi.getNumOperands(); i != e; i += 2)
|
||||
if (Phi.getOperand(i + 1).getMBB() == LoopBB)
|
||||
|
|
|
@ -399,7 +399,7 @@ class RAGreedy : public MachineFunctionPass,
|
|||
/// obtained from the TargetSubtargetInfo.
|
||||
bool EnableLocalReassign;
|
||||
|
||||
/// Enable or not the the consideration of the cost of local intervals created
|
||||
/// Enable or not the consideration of the cost of local intervals created
|
||||
/// by a split candidate when choosing the best split candidate.
|
||||
bool EnableAdvancedRASplitCost;
|
||||
|
||||
|
@ -1448,7 +1448,7 @@ bool RAGreedy::splitCanCauseEvictionChain(unsigned Evictee,
|
|||
getCheapestEvicteeWeight(Order, LIS->getInterval(Evictee),
|
||||
Cand.Intf.first(), Cand.Intf.last(), &MaxWeight);
|
||||
|
||||
// The bad eviction chain occurs when either the split candidate the the
|
||||
// The bad eviction chain occurs when either the split candidate the
|
||||
// evited reg or one of the split artifact will evict the evicting reg.
|
||||
if ((PhysReg != Cand.PhysReg) && (PhysReg != FutureEvictedPhysReg))
|
||||
return false;
|
||||
|
|
|
@ -587,7 +587,7 @@ void RegisterOperands::adjustLaneLiveness(const LiveIntervals &LIS,
|
|||
for (auto I = Defs.begin(); I != Defs.end(); ) {
|
||||
LaneBitmask LiveAfter = getLiveLanesAt(LIS, MRI, true, I->RegUnit,
|
||||
Pos.getDeadSlot());
|
||||
// If the the def is all that is live after the instruction, then in case
|
||||
// If the def is all that is live after the instruction, then in case
|
||||
// of a subregister def we need a read-undef flag.
|
||||
unsigned RegUnit = I->RegUnit;
|
||||
if (TargetRegisterInfo::isVirtualRegister(RegUnit) &&
|
||||
|
|
Loading…
Reference in New Issue