From: Chris Lattner Date: Wed, 6 Oct 2004 16:28:24 +0000 (+0000) Subject: Correct some typeos X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7c348e1c9f0b905a189e0c6ad870fff5ef296ad0;p=oota-llvm.git Correct some typeos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16770 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;