[llvm-branch-commits] [llvm-branch] r93321 - in /llvm/branches/Apple/Zoidberg/lib/Target/ARM: ARMInstrThumb.td ARMRegisterInfo.td
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Jan 13 09:09:14 PST 2010
Author: stoklund
Date: Wed Jan 13 11:09:14 2010
New Revision: 93321
URL: http://llvm.org/viewvc/llvm-project?rev=93321&view=rev
Log:
Merge r93280 JustSP register class
Modified:
llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMInstrThumb.td
llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMRegisterInfo.td
Modified: llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMInstrThumb.td?rev=93321&r1=93320&r2=93321&view=diff
==============================================================================
--- llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMInstrThumb.td Wed Jan 13 11:09:14 2010
@@ -113,7 +113,7 @@
def t_addrmode_sp : Operand<i32>,
ComplexPattern<i32, 2, "SelectThumbAddrModeSP", []> {
let PrintMethod = "printThumbAddrModeSPOperand";
- let MIOperandInfo = (ops JustSP:$base, i32imm:$offsimm);
+ let MIOperandInfo = (ops GPR:$base, i32imm:$offsimm);
}
//===----------------------------------------------------------------------===//
Modified: llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMRegisterInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMRegisterInfo.td?rev=93321&r1=93320&r2=93321&view=diff
==============================================================================
--- llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMRegisterInfo.td (original)
+++ llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMRegisterInfo.td Wed Jan 13 11:09:14 2010
@@ -367,19 +367,6 @@
// Condition code registers.
def CCR : RegisterClass<"ARM", [i32], 32, [CPSR]>;
-// Just the stack pointer (for tSTRspi and friends).
-def JustSP : RegisterClass<"ARM", [i32], 32, [SP]> {
- let MethodProtos = [{
- iterator allocation_order_end(const MachineFunction &MF) const;
- }];
- let MethodBodies = [{
- JustSPClass::iterator
- JustSPClass::allocation_order_end(const MachineFunction &MF) const {
- return allocation_order_begin(MF);
- }
- }];
-}
-
//===----------------------------------------------------------------------===//
// Subregister Set Definitions... now that we have all of the pieces, define the
// sub registers for each register.
More information about the llvm-branch-commits
mailing list