From 8d963e602b752f6c071063a5e769f6058018c733 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Wed, 11 Aug 2004 03:30:55 +0000 Subject: [PATCH] Fix 255.vortex by using getClassB instead of getClass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15648 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPC32ISelSimple.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Target/PowerPC/PPC32ISelSimple.cpp b/lib/Target/PowerPC/PPC32ISelSimple.cpp index 41d3e15c9e6..8fd947f1162 100644 --- 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(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 (getClassB(TrueVal->getType()) == cLong) BuildMI(BB, PPC::LI, 1, DestReg+1).addImm(0); return; }