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
This commit is contained in:
Duraid Madina 2005-11-06 04:29:30 +00:00
parent 46da94a1c4
commit cf11aefc91

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