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.
1 parent 1010fc0 commit 3bb61a8Copy full SHA for 3bb61a8
llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
@@ -913,7 +913,7 @@ struct TransformDFA {
913
// SLPVectorizer.
914
// TODO: Thread the switch partially before reaching the threshold.
915
uint64_t NumOrigInst = 0;
916
- for (auto &[BB, _] : DuplicateMap)
+ for (auto *BB : DuplicateMap.keys())
917
NumOrigInst += range_size(*BB);
918
if (double(NumClonedInst) / double(NumOrigInst) > MaxClonedRate) {
919
LLVM_DEBUG(dbgs() << "DFA Jump Threading: Not jump threading, too much "
0 commit comments