[LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR

Arnaud A. de Grandmaison arnaud.degrandmaison at arm.com
Thu Dec 4 01:27:04 PST 2014


 

 

From: Reid Kleckner [mailto:rnk at google.com] 
Sent: 04 December 2014 00:17
To: Vadim Chugunov; Arnaud De Grandmaison
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR

 

On Wed, Dec 3, 2014 at 2:26 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:

So what's to become of llvm.lifetime.start/end?   Are they going to be removed or fixed?

 

Arnaud is looking at them. They are only an optimization hint, though, so it's OK if analysis fails a variable is considered live across the entire function. It's not OK if we think that a landing pad is active over the entire function.

 

As far as I know, there is no plan to remove the lifetime.start/end or change their specification. I am working on improving how they are used in clang’s IR codegen --- which proves to be tricky. With a wider usage of them, there will probably have to be some corner cases to be fixed here and there in llvm’s passes.

Cheers,

Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141204/b1b51c40/attachment.html>


More information about the llvm-dev mailing list