Correct some typeos
authorChris Lattner <sabre@nondot.org>
Wed, 6 Oct 2004 16:28:24 +0000 (16:28 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Oct 2004 16:28:24 +0000 (16:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16770 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC32ISelSimple.cpp

index d499a98c90a72877ec59521f9f0bd2717c47bb92..34f6bdff8d4403b7bb4530c95e5ae942bd321fdd 100644 (file)
@@ -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<SetCondInst(*I))
+      if (isa<SetCondInst>(*I))
         continue;
-      if (StoreInst *SI = dyn_cast<StoreInst>(*I) && 
-          cByte == getClassB(SI->getType()))
+      if (StoreInst *SI = dyn_cast<StoreInst>(*I))
+        if (cByte == getClassB(SI->getType()))
         continue;
       AllUsesAreStoresOrSetCC = false;
       break;