[PATCH] PR8541; X86: Handle unwind.init and eh.return intrinsics.

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue May 14 11:06:31 PDT 2013


On Apr 20, 2013, at 1:43 AM, Pasi Parviainen <pasi.parviainen at iki.fi> wrote:

> Hi,
> 
> First patch addresses the problem in PR8541. It forces spilling of affected registers to stack when unwind.init and eh.return intrinsics are encountered.
> 
> Second patch is additional patch which relaxes the requirement of frame pointer in functions with eh.return.
> 
> Pasi

Hi Pasi,

It looks like you actually know what eh.return is supposed to do. Could you explain, please?

Would it make sense to do this in target-independent code, like PrologEpilogInserter?

/jakob




More information about the llvm-commits mailing list