mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
misspell
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df523d456c
commit
c2aa0035a6
@ -858,7 +858,7 @@ bool SimplifyCFGOpt::FoldValueComparisonIntoPredecessors(TerminatorInst *TI,
|
|||||||
|
|
||||||
if (PredHasWeights) {
|
if (PredHasWeights) {
|
||||||
GetBranchWeights(PTI, Weights);
|
GetBranchWeights(PTI, Weights);
|
||||||
// branch-weight metadata is inconsistant here.
|
// branch-weight metadata is inconsistent here.
|
||||||
if (Weights.size() != 1 + PredCases.size())
|
if (Weights.size() != 1 + PredCases.size())
|
||||||
PredHasWeights = SuccHasWeights = false;
|
PredHasWeights = SuccHasWeights = false;
|
||||||
} else if (SuccHasWeights)
|
} else if (SuccHasWeights)
|
||||||
@ -870,7 +870,7 @@ bool SimplifyCFGOpt::FoldValueComparisonIntoPredecessors(TerminatorInst *TI,
|
|||||||
SmallVector<uint64_t, 8> SuccWeights;
|
SmallVector<uint64_t, 8> SuccWeights;
|
||||||
if (SuccHasWeights) {
|
if (SuccHasWeights) {
|
||||||
GetBranchWeights(TI, SuccWeights);
|
GetBranchWeights(TI, SuccWeights);
|
||||||
// branch-weight metadata is inconsistant here.
|
// branch-weight metadata is inconsistent here.
|
||||||
if (SuccWeights.size() != 1 + BBCases.size())
|
if (SuccWeights.size() != 1 + BBCases.size())
|
||||||
PredHasWeights = SuccHasWeights = false;
|
PredHasWeights = SuccHasWeights = false;
|
||||||
} else if (PredHasWeights)
|
} else if (PredHasWeights)
|
||||||
@ -1415,7 +1415,7 @@ static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *BB1) {
|
|||||||
if (BB1V == BIParentV)
|
if (BB1V == BIParentV)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Check for saftey.
|
// Check for safety.
|
||||||
if (ConstantExpr *CE = dyn_cast<ConstantExpr>(BB1V)) {
|
if (ConstantExpr *CE = dyn_cast<ConstantExpr>(BB1V)) {
|
||||||
// An unfolded ConstantExpr could end up getting expanded into
|
// An unfolded ConstantExpr could end up getting expanded into
|
||||||
// Instructions. Don't speculate this and another instruction at
|
// Instructions. Don't speculate this and another instruction at
|
||||||
|
Loading…
x
Reference in New Issue
Block a user