[LLVMdev] RFC: Exception Handling Proposal II

Renato Golin rengolin at systemcall.org
Fri Nov 26 02:01:04 PST 2010


On 26 November 2010 07:07, Christophe de Dinechin
<christophe at dinechin.org> wrote:
> In that scenario, it would be legitimate to eliminate the x=y and x=z from the basic blocks in the main body, as long as you insert compensation code in the landing pads associated with foo() and bar() calls. In essence, you move the "x=y" to the landing pad. The move is compiler-generated, but the value being referenced is still a user value.

Hi Christophe.

I was not saying it's illegal, just that would be good to keep the
separation between compiler code and user code, to make it easier for
optimization passes to determine the intended call graph and the
exception one.

cheers,
--renato




More information about the llvm-dev mailing list