diff --git a/lib/Target/PowerPC/PPC32ISelSimple.cpp b/lib/Target/PowerPC/PPC32ISelSimple.cpp index d499a98c90a..34f6bdff8d4 100644 --- a/lib/Target/PowerPC/PPC32ISelSimple.cpp +++ b/lib/Target/PowerPC/PPC32ISelSimple.cpp @@ -2636,10 +2636,10 @@ static bool LoadNeedsSignExtend(LoadInst &LI) { if (cByte == getClassB(LI.getType()) && LI.getType()->isSigned()) { bool AllUsesAreStoresOrSetCC = true; for (Value::use_iterator I = LI.use_begin(), E = LI.use_end(); I != E; ++I){ - if (isa(*I)) continue; - if (StoreInst *SI = dyn_cast(*I) && - cByte == getClassB(SI->getType())) + if (StoreInst *SI = dyn_cast(*I)) + if (cByte == getClassB(SI->getType())) continue; AllUsesAreStoresOrSetCC = false; break;