[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcRegClassInfo.h
Anand Shukla
ashukla at cs.uiuc.edu
Sun Jul 20 10:39:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
SparcRegClassInfo.h updated: 1.17 -> 1.18
---
Log message:
Added special consideration for instrumentation strategy
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/SparcRegClassInfo.h
diff -u llvm/lib/Target/Sparc/SparcRegClassInfo.h:1.17 llvm/lib/Target/Sparc/SparcRegClassInfo.h:1.18
--- llvm/lib/Target/Sparc/SparcRegClassInfo.h:1.17 Sun Jul 6 15:13:59 2003
+++ llvm/lib/Target/Sparc/SparcRegClassInfo.h Sun Jul 20 10:38:24 2003
@@ -25,6 +25,10 @@
return (Reg < (int)StartOfNonVolatileRegs);
}
+ inline bool modifiedByCall(int Reg) const {
+ return Reg==(int)ModifiedByCall;
+ }
+
enum { // colors possible for a LR (in preferred order)
// --- following colors are volatile across function calls
// %g0 can't be used for coloring - always 0
@@ -61,6 +65,8 @@
StartOfNonVolatileRegs = l0,
StartOfAllRegs = o0,
+
+ ModifiedByCall = o7,
};
const char * const getRegName(unsigned reg) const;
More information about the llvm-commits
mailing list