summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2005-11-06 04:29:30 +0000
committerDuraid Madina <duraid@octopus.com.au>2005-11-06 04:29:30 +0000
commit4645db0948277243426069c423f4f0a494d4ec0c (patch)
tree3265456d837ab394f3cb86ba02c649bbfdf2d62b /llvm/lib/Target
parent16025eef80f2841ba37ee7044039c045e681b883 (diff)
downloadbcm5719-llvm-4645db0948277243426069c423f4f0a494d4ec0c.tar.gz
bcm5719-llvm-4645db0948277243426069c423f4f0a494d4ec0c.zip
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. llvm-svn: 24206
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/IA64/IA64TargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/IA64/IA64TargetMachine.cpp b/llvm/lib/Target/IA64/IA64TargetMachine.cpp
index 3760f489b52..f62253db7b5 100644
--- a/llvm/lib/Target/IA64/IA64TargetMachine.cpp
+++ b/llvm/lib/Target/IA64/IA64TargetMachine.cpp
@@ -92,7 +92,8 @@ bool IA64TargetMachine::addPassesToEmitFile(PassManager &PM,
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());
OpenPOWER on IntegriCloud