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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24206 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duraid Madina 2005-11-06 04:29:30 +00:00
parent 49b1602a40
commit 21687e8f63

View File

@ -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());