[llvm-commits] CVS: llvm/lib/Target/IA64/IA64TargetMachine.cpp
Duraid Madina
duraid at octopus.com.au
Sat Nov 5 20:29:41 PST 2005
Changes in directory llvm/lib/Target/IA64:
IA64TargetMachine.cpp updated: 1.6 -> 1.7
---
Log message:
ask for 16-byte aligned jmpbufs. This should unbreak C++ on IA64 (and
a bunch of other things) but is currently ignored by the code
generator.
---
Diffs of the changes: (+2 -1)
IA64TargetMachine.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64TargetMachine.cpp
diff -u llvm/lib/Target/IA64/IA64TargetMachine.cpp:1.6 llvm/lib/Target/IA64/IA64TargetMachine.cpp:1.7
--- llvm/lib/Target/IA64/IA64TargetMachine.cpp:1.6 Fri Oct 28 12:46:36 2005
+++ llvm/lib/Target/IA64/IA64TargetMachine.cpp Sat Nov 5 22:29:30 2005
@@ -92,7 +92,8 @@
PM.add(createLowerGCPass());
// FIXME: Implement the invoke/unwind instructions!
- PM.add(createLowerInvokePass());
+ PM.add(createLowerInvokePass(704, 16)); // on ia64 linux, jmpbufs are 704
+ // bytes and must be 16byte aligned
// FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass());
More information about the llvm-commits
mailing list