projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916f96a
)
Fix 255.vortex by using getClassB instead of getClass
author
Nate Begeman
<natebegeman@mac.com>
Wed, 11 Aug 2004 03:30:55 +0000
(
03:30
+0000)
committer
Nate Begeman
<natebegeman@mac.com>
Wed, 11 Aug 2004 03:30:55 +0000
(
03:30
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15648
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPC32ISelSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPC32ISelSimple.cpp
b/lib/Target/PowerPC/PPC32ISelSimple.cpp
index 41d3e15c9e60099806ff921ea3810b6287d21381..8fd947f1162c008f89e7ac00ee7095ab74777fcd 100644
(file)
--- a/
lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC32ISelSimple.cpp
@@
-605,7
+605,6
@@
void ISel::copyConstantToRegister(MachineBasicBlock *MBB,
}
return;
}
-
std::cerr << "Unhandled integer constant!\n";
abort();
} else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
@@
-1243,7
+1242,7
@@
void ISel::emitSelectOperation(MachineBasicBlock *MBB,
BuildMI(BB, PPC::PHI, 4, DestReg).addReg(FalseValue)
.addMBB(copy0MBB).addReg(TrueValue).addMBB(copy1MBB);
// For a register pair representing a long value, define the second reg
- if (getClass(TrueVal->getType()) == cLong)
+ if (getClass
B
(TrueVal->getType()) == cLong)
BuildMI(BB, PPC::LI, 1, DestReg+1).addImm(0);
return;
}