git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109098
91177308-0d34-0410-b5e6-
96231b3b80d8
UI != E; ++UI) {
// Ignore any user that is not a PHI node in BB2. These can only occur in
// unreachable blocks, because they would not be dominated by the instr.
UI != E; ++UI) {
// Ignore any user that is not a PHI node in BB2. These can only occur in
// unreachable blocks, because they would not be dominated by the instr.
- PHINode *PN = dyn_cast<PHINode>(UI);
+ PHINode *PN = dyn_cast<PHINode>(*UI);
if (!PN || PN->getParent() != BB2)
return false;
PHIUses.push_back(PN);
if (!PN || PN->getParent() != BB2)
return false;
PHIUses.push_back(PN);