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 e042918 commit b5771d8Copy full SHA for b5771d8
llvm/lib/IR/Verifier.cpp
@@ -3662,9 +3662,9 @@ void Verifier::visitCallBase(CallBase &Call) {
3662
3663
while (!PHIWorkList.empty()) {
3664
const auto *PhiI = PHIWorkList.pop_back_val();
3665
- for (const auto &Op : PhiI->incoming_values()) {
3666
- const auto *NextPhiI = dyn_cast<PHINode>(Op.get());
3667
- if (Values.insert(Op.get()) && NextPhiI)
+ for (const Value *Op : PhiI->incoming_values()) {
+ const auto *NextPhiI = dyn_cast<PHINode>(Op);
+ if (Values.insert(Op) && NextPhiI)
3668
PHIWorkList.push_back(NextPhiI);
3669
}
3670
0 commit comments