Added special consideration for instrumentation strategy
llvm-svn: 7208
diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h
index 47885a4..2cd54b2 100644
--- a/llvm/lib/Target/Sparc/SparcInternals.h
+++ b/llvm/lib/Target/Sparc/SparcInternals.h
@@ -447,6 +447,10 @@
return MachineRegClassArr[RegClassID]->isRegVolatile(Reg);
}
+ inline bool modifiedByCall(int RegClassID, int Reg) const {
+ return MachineRegClassArr[RegClassID]->modifiedByCall(Reg);
+ }
+
// Get the register type for a register identified different ways.
int getRegType(const Type* type) const;
int getRegType(const LiveRange *LR) const;