diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp b/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp index d499a98c90a..34f6bdff8d4 100644 --- a/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp +++ b/llvm/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<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; | 

