mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
fix typos aggressively; NFC
llvm-svn: 346316
This commit is contained in:
parent
fae8bdb1d4
commit
9a59793e0b
@ -44,7 +44,7 @@ ArgAllocaCost("amdgpu-inline-arg-alloca-cost", cl::Hidden, cl::init(2200),
|
||||
cl::desc("Cost of alloca argument"));
|
||||
|
||||
// If the amount of scratch memory to eliminate exceeds our ability to allocate
|
||||
// it into registers we gain nothing by agressively inlining functions for that
|
||||
// it into registers we gain nothing by aggressively inlining functions for that
|
||||
// heuristic.
|
||||
static cl::opt<unsigned>
|
||||
ArgAllocaCutoff("amdgpu-inline-arg-alloca-cutoff", cl::Hidden, cl::init(256),
|
||||
|
@ -250,7 +250,7 @@ SDValue X86SelectionDAGInfo::EmitTargetCodeForMemcpy(
|
||||
|
||||
if (Repeats.BytesLeft() > 0 &&
|
||||
DAG.getMachineFunction().getFunction().optForMinSize()) {
|
||||
// When agressively optimizing for size, avoid generating the code to
|
||||
// When aggressively optimizing for size, avoid generating the code to
|
||||
// handle BytesLeft.
|
||||
Repeats.AVT = MVT::i8;
|
||||
}
|
||||
|
@ -2512,7 +2512,7 @@ Instruction *InstCombiner::visitSwitchInst(SwitchInst &SI) {
|
||||
// Shrink the condition operand if the new type is smaller than the old type.
|
||||
// But do not shrink to a non-standard type, because backend can't generate
|
||||
// good code for that yet.
|
||||
// TODO: We can make it agressive again after fixing PR39569.
|
||||
// TODO: We can make it aggressive again after fixing PR39569.
|
||||
if (NewWidth > 0 && NewWidth < Known.getBitWidth() &&
|
||||
shouldChangeType(Known.getBitWidth(), NewWidth)) {
|
||||
IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth);
|
||||
|
@ -197,7 +197,7 @@ static bool canSplitCallSite(CallSite CS, TargetTransformInfo &TTI) {
|
||||
isa<IndirectBrInst>(Preds[1]->getTerminator()))
|
||||
return false;
|
||||
|
||||
// BasicBlock::canSplitPredecessors is more agressive, so checking for
|
||||
// BasicBlock::canSplitPredecessors is more aggressive, so checking for
|
||||
// BasicBlock::isEHPad as well.
|
||||
if (!CallSiteBB->canSplitPredecessors() || CallSiteBB->isEHPad())
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user