From 7c348e1c9f0b905a189e0c6ad870fff5ef296ad0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 6 Oct 2004 16:28:24 +0000 Subject: [PATCH] Correct some typeos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16770 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPC32ISelSimple.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;