[llvm-commits] updated nounwind for basic blocks patch
Nick Lewycky
nicholas at mxc.ca
Thu Mar 27 22:59:26 PDT 2008
Chris Lattner wrote:
> On Mar 16, 2008, at 11:11 AM, Nick Lewycky wrote:
>
>> This patch adds nounwind to basic blocks.
>>
>> The major change from the previous patch is the removal of any
>> attempt at tri-state behaviour between nounwind and unwinds to. We
>> now permit basic blocks to be defined with both:
>>
>> bb42: nounwind unwinds to %cleanup42
>>
>> the reason being that a block may be marked 'nounwind' by a pass
>> that needs to preserve the CFG and therefore can't remove the
>> 'unwinds to' edge.
>
> There is no patch for LangRef.html, lets start there.
I'm actually waiting until the exact behaviour of 'unwinds to' is
settled so we can update the LangRef in one atomic move.
It's clear what the syntax for it ought to be, but I don't want to add
it to LangRef until it's clear what is and is not valid code.
Nick
More information about the llvm-commits
mailing list