We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2590182 + fc4a9aa commit fd4a62cCopy full SHA for fd4a62c
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -3000,7 +3000,7 @@ static Optional<bool>
3000
FoldCondBranchOnValueKnownInPredecessorImpl(BranchInst *BI, DomTreeUpdater *DTU,
3001
const DataLayout &DL,
3002
AssumptionCache *AC) {
3003
- SmallDenseMap<BasicBlock *, ConstantInt *> KnownValues;
+ SmallMapVector<BasicBlock *, ConstantInt *, 8> KnownValues;
3004
BasicBlock *BB = BI->getParent();
3005
Value *Cond = BI->getCondition();
3006
PHINode *PN = dyn_cast<PHINode>(Cond);
0 commit comments