Do better with physical reg operands (typically, from inline asm)
[oota-llvm.git] / lib / Analysis / SparsePropagation.cpp
index 6578cb4681e4129044796694e3f222dfd4052b56..d7bcac2b1e2d2215f17422227266ae195b0ec917 100644 (file)
@@ -166,7 +166,7 @@ void SparseSolver::getFeasibleSuccessors(TerminatorInst &TI,
     return;
   }
   
-  if (IndBrInst *IBI = dyn_cast<IndBrInst>(TI)) {
+  if (isa<IndirectBrInst>(TI)) {
     Succs.assign(Succs.size(), true);
     return;
   }