[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Evan Cheng evan.cheng at apple.com
Thu Jan 25 14:13:00 PST 2007



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.88 -> 1.89
---
Log message:

Added a MRegisterInfo hook that tells PEI the target is responsible for
rounding the stack frame to a multiple of stack alignment.

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

 MRegisterInfo.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.88 llvm/include/llvm/Target/MRegisterInfo.h:1.89
--- llvm/include/llvm/Target/MRegisterInfo.h:1.88	Wed Jan 24 12:45:12 2007
+++ llvm/include/llvm/Target/MRegisterInfo.h	Thu Jan 25 16:12:41 2007
@@ -367,6 +367,12 @@
     return 0;
   }
 
+  /// targetHandlesStackFrameRounding - Returns true if the target is responsible
+  /// for rounding up the stack frame (probably at emitPrologue time).
+  virtual bool targetHandlesStackFrameRounding() const {
+    return false;
+  }
+
   /// hasFP - Return true if the specified function should have a dedicated frame
   /// pointer register. For most targets this is true only if the function has
   /// variable sized allocas or if frame pointer elimination is disabled.






More information about the llvm-commits mailing list