mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
fix trivial typos in comments; NFC
llvm-svn: 307004
This commit is contained in:
parent
01ff7011f7
commit
8d919daa58
@ -626,7 +626,7 @@ static unsigned scavengeVReg(MachineRegisterInfo &MRI, RegScavenger &RS,
|
||||
assert(RealDef != nullptr && "Must have at least 1 Def");
|
||||
#endif
|
||||
|
||||
// We should only have one definition of the register. However to accomodate
|
||||
// We should only have one definition of the register. However to accommodate
|
||||
// the requirements of two address code we also allow definitions in
|
||||
// subsequent instructions provided they also read the register. That way
|
||||
// we get a single contiguous lifetime.
|
||||
|
@ -395,7 +395,7 @@ DWARFDie::attribute_iterator::attribute_iterator(DWARFDie D, bool End) :
|
||||
void DWARFDie::attribute_iterator::updateForIndex(
|
||||
const DWARFAbbreviationDeclaration &AbbrDecl, uint32_t I) {
|
||||
Index = I;
|
||||
// AbbrDecl must be valid befor calling this function.
|
||||
// AbbrDecl must be valid before calling this function.
|
||||
auto NumAttrs = AbbrDecl.getNumAttributes();
|
||||
if (Index < NumAttrs) {
|
||||
AttrValue.Attr = AbbrDecl.getAttrByIndex(Index);
|
||||
|
@ -113,7 +113,7 @@ struct LDTLSCleanup : public MachineFunctionPass {
|
||||
return Copy;
|
||||
}
|
||||
|
||||
// Create a virtal register in *TLSBaseAddrReg, and populate it by
|
||||
// Create a virtual register in *TLSBaseAddrReg, and populate it by
|
||||
// inserting a copy instruction after I. Returns the new instruction.
|
||||
MachineInstr *setRegister(MachineInstr &I, unsigned *TLSBaseAddrReg) {
|
||||
MachineFunction *MF = I.getParent()->getParent();
|
||||
|
@ -127,7 +127,7 @@ MachineInstr *SystemZLDCleanup::ReplaceTLSCall(MachineInstr *I,
|
||||
return Copy;
|
||||
}
|
||||
|
||||
// Create a virtal register in *TLSBaseAddrReg, and populate it by
|
||||
// Create a virtual register in *TLSBaseAddrReg, and populate it by
|
||||
// inserting a copy instruction after I. Returns the new instruction.
|
||||
MachineInstr *SystemZLDCleanup::SetRegister(MachineInstr *I,
|
||||
unsigned *TLSBaseAddrReg) {
|
||||
|
@ -10488,7 +10488,7 @@ namespace {
|
||||
return Copy;
|
||||
}
|
||||
|
||||
// Create a virtal register in *TLSBaseAddrReg, and populate it by
|
||||
// Create a virtual register in *TLSBaseAddrReg, and populate it by
|
||||
// inserting a copy instruction after I. Returns the new instruction.
|
||||
MachineInstr *SetRegister(MachineInstr &I, unsigned *TLSBaseAddrReg) {
|
||||
MachineFunction *MF = I.getParent()->getParent();
|
||||
|
Loading…
Reference in New Issue
Block a user