prevent register allocator from using the stack pointer :)
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 2 Feb 2005 17:00:21 +0000 (17:00 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 2 Feb 2005 17:00:21 +0000 (17:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20002 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelPattern.cpp
lib/Target/Alpha/AlphaRegisterInfo.td

index a3570bc8152280ae3fcd5360d58155a2901fc4ce..a121beb46882d10ef74af5a290a76c1a3e2d53ee 100644 (file)
@@ -40,8 +40,8 @@ namespace {
     AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM) {
       // Set up the TargetLowering object.
       //I am having problems with shr n ubyte 1
-      setShiftAmountType(MVT::i64); //are these needed?
-      setSetCCResultType(MVT::i64); //are these needed?
+      setShiftAmountType(MVT::i64);
+      setSetCCResultType(MVT::i64);
       
       addRegisterClass(MVT::i64, Alpha::GPRCRegisterClass);
       addRegisterClass(MVT::f64, Alpha::FPRCRegisterClass);
index 011a23bd57c4520c4afea0cfae3a6487937073c5..416500293780881f697089a9bb2b616fa7ac1ed7 100644 (file)
@@ -81,7 +81,7 @@ def GPRC : RegisterClass<i64, 64,
 //Volitle
      [R0, R1, R2, R3, R4, R5, R6, R7, R8, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R27,
 //Non-Volitile
-     R9, R10, R11, R12, R13, R14, R15, R26, /*R28,*/ R29, R30 /*, R31*/ ]>;
+     R9, R10, R11, R12, R13, R14, R15, R26, /*R28,*/ R29, /* R30, R31*/ ]>;
 //R28 is reserved for the assembler
 
 //Don't allocate 15, 29, 30, 31