[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Oct 6 09:28:37 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.87 -> 1.88
---
Log message:
Correct some typeos
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.87 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.88
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.87 Wed Oct 6 06:03:30 2004
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Wed Oct 6 11:28:24 2004
@@ -2636,10 +2636,10 @@
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;
More information about the llvm-commits
mailing list