[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp AlphaRegisterInfo.h

Reid Spencer reid at x10sys.com
Sun Feb 18 19:20:41 PST 2007



Changes in directory llvm/lib/Target/Alpha:

AlphaRegisterInfo.cpp updated: 1.58 -> 1.59
AlphaRegisterInfo.h updated: 1.18 -> 1.19
---
Log message:

For PR1207: http://llvm.org/PR1207 :
Revert patches that caused the problem. Evan, please investigate and reapply
when you've discovered the problem.


---
Diffs of the changes:  (+0 -11)

 AlphaRegisterInfo.cpp |    9 ---------
 AlphaRegisterInfo.h   |    2 --
 2 files changed, 11 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.58 llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.59
--- llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.58	Sat Feb 17 05:06:00 2007
+++ llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp	Sun Feb 18 21:20:00 2007
@@ -28,7 +28,6 @@
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Debug.h"
-#include "llvm/ADT/BitVector.h"
 #include "llvm/ADT/STLExtras.h"
 #include <cstdlib>
 using namespace llvm;
@@ -179,14 +178,6 @@
   return CalleeSavedRegClasses;
 }
 
-BitVector AlphaRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
-  BitVector Reserved(getNumRegs());
-  Reserved.set(Alpha::R15);
-  Reserved.set(Alpha::R30);
-  Reserved.set(Alpha::R31);
-  return Reserved;
-}
-
 //===----------------------------------------------------------------------===//
 // Stack Frame Processing methods
 //===----------------------------------------------------------------------===//


Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.h
diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.h:1.18 llvm/lib/Target/Alpha/AlphaRegisterInfo.h:1.19
--- llvm/lib/Target/Alpha/AlphaRegisterInfo.h:1.18	Sat Feb 17 05:06:00 2007
+++ llvm/lib/Target/Alpha/AlphaRegisterInfo.h	Sun Feb 18 21:20:00 2007
@@ -49,8 +49,6 @@
 
   const TargetRegisterClass* const* getCalleeSavedRegClasses() const;
 
-  BitVector getReservedRegs(const MachineFunction &MF) const;
-
   bool hasFP(const MachineFunction &MF) const;
 
   void eliminateCallFramePseudoInstr(MachineFunction &MF,






More information about the llvm-commits mailing list