forked from OSchip/llvm-project
[NFC] fix trivial typos in comments
"a a" -> "a" llvm-svn: 325752
This commit is contained in:
parent
663dbfadbf
commit
7f9f92f8b6
|
@ -218,7 +218,7 @@ enum {
|
|||
/// - InsnID - Instruction ID to modify
|
||||
/// - RegNum - The register to add
|
||||
GIR_AddRegister,
|
||||
/// Add a a temporary register to the specified instruction
|
||||
/// Add a temporary register to the specified instruction
|
||||
/// - InsnID - Instruction ID to modify
|
||||
/// - TempRegID - The temporary register ID to add
|
||||
GIR_AddTempRegister,
|
||||
|
|
|
@ -218,7 +218,7 @@ Counters SIInsertWaits::getHwCounts(MachineInstr &MI) {
|
|||
unsigned Size = TRI->getRegSizeInBits(*RC);
|
||||
Result.Named.LGKM = Size > 32 ? 2 : 1;
|
||||
} else {
|
||||
// s_dcache_inv etc. do not have a a destination register. Assume we
|
||||
// s_dcache_inv etc. do not have a destination register. Assume we
|
||||
// want a wait on these.
|
||||
// XXX - What is the right value?
|
||||
Result.Named.LGKM = 1;
|
||||
|
|
|
@ -358,7 +358,7 @@ int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy,
|
|||
int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
||||
const Instruction *I) {
|
||||
int ISD = TLI->InstructionOpcodeToISD(Opcode);
|
||||
// On NEON a a vector select gets lowered to vbsl.
|
||||
// On NEON a vector select gets lowered to vbsl.
|
||||
if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) {
|
||||
// Lowering of some vector selects is currently far from perfect.
|
||||
static const TypeConversionCostTblEntry NEONVectorSelectTbl[] = {
|
||||
|
|
|
@ -1914,7 +1914,7 @@ void HexagonFrameLowering::determineCalleeSaves(MachineFunction &MF,
|
|||
if (OptimizeSpillSlots && !isOptNone(MF))
|
||||
optimizeSpillSlots(MF, NewRegs);
|
||||
|
||||
// We need to reserve a a spill slot if scavenging could potentially require
|
||||
// We need to reserve a spill slot if scavenging could potentially require
|
||||
// spilling a scavenged register.
|
||||
if (!NewRegs.empty() || mayOverflowFrameOffset(MF)) {
|
||||
MachineFrameInfo &MFI = MF.getFrameInfo();
|
||||
|
|
|
@ -3885,7 +3885,7 @@ bool MipsAsmParser::expandCondBranches(MCInst &Inst, SMLoc IDLoc,
|
|||
// This is accomplished by using a BNEZ with the result of the SLT.
|
||||
//
|
||||
// The other 2 pseudo-branches are opposites of the above 2 (BGE with BLT
|
||||
// and BLE with BGT), so we change the BNEZ into a a BEQZ.
|
||||
// and BLE with BGT), so we change the BNEZ into a BEQZ.
|
||||
// Because only BGE and BLE branch on equality, we can use the
|
||||
// AcceptsEquality variable to decide when to emit the BEQZ.
|
||||
// Note that the order of the SLT arguments doesn't change between
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Test that we can extract all the sled types we know about. This is built with
|
||||
# a a file with functions always instrumented, and using the built-ins and
|
||||
# a file with functions always instrumented, and using the built-ins and
|
||||
# intrinsics supported by clang. Those are built with:
|
||||
#
|
||||
# clang++ -c all-sleds.cc -o all-sleds.o -fpic -std=c++11 -fxray-instrument
|
||||
|
|
|
@ -244,7 +244,7 @@ std::error_code createCOFFDumper(const object::ObjectFile *Obj,
|
|||
|
||||
} // namespace llvm
|
||||
|
||||
// Given a a section and an offset into this section the function returns the
|
||||
// Given a section and an offset into this section the function returns the
|
||||
// symbol used for the relocation at the offset.
|
||||
std::error_code COFFDumper::resolveSymbol(const coff_section *Section,
|
||||
uint64_t Offset, SymbolRef &Sym) {
|
||||
|
|
Loading…
Reference in New Issue