mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 07:05:03 +00:00
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:
parent
49b1602a40
commit
21687e8f63
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user