[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp
Duraid Madina
duraid at octopus.com.au
Sun Sep 3 23:21:56 PDT 2006
Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.41 -> 1.42
---
Log message:
add setJumpBufSize() and setJumpBufAlignment() to target-lowering.
Call these from your backend to enjoy setjmp/longjmp goodness, see
lib/Target/IA64/IA64ISelLowering.cpp for an example
---
Diffs of the changes: (+3 -0)
IA64ISelLowering.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.41 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.42
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.41 Wed Aug 16 02:28:58 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Mon Sep 4 01:21:35 2006
@@ -109,6 +109,9 @@
setStackPointerRegisterToSaveRestore(IA64::r12);
+ setJumpBufSize(704); // on ia64-linux, jmp_bufs are 704 bytes..
+ setJumpBufAlignment(16); // ...and must be 16-byte aligned
+
computeRegisterProperties();
setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
More information about the llvm-commits
mailing list