[llvm-commits] [llvm] r141859 - in /llvm/trunk: lib/Target/X86/X86FrameLowering.cpp test/CodeGen/X86/segmented-stacks.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Oct 13 10:15:01 PDT 2011


On Oct 13, 2011, at 1:24 AM, Bill Wendling wrote:

> Author: void
> Date: Thu Oct 13 03:24:19 2011
> New Revision: 141859
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=141859&view=rev
> Log:
> More closely follow libgcc, which has code after the `ret' instruction to
> release the stack segment and reset the stack pointer. Place the code in its own
> MBB to make the verifier happy.

Wait, what?

Is the verifier happy with a return block with successors? That sounds like a bug ;)

Seriously, though. What is going on here? I am worried that branch folding doesn't understand this, and rearranges the blocks.

/jakob




More information about the llvm-commits mailing list