Machine Verifier: verify FrameSetup and FrameDestroy
authorManman Ren <mren@apple.com>
Mon, 15 Jul 2013 21:26:31 +0000 (21:26 +0000)
committerManman Ren <mren@apple.com>
Mon, 15 Jul 2013 21:26:31 +0000 (21:26 +0000)
commit7310b75c8b6cc0f73d114dc0beccbb96a6942547
treef2c9ecd7685226935d4a0f5299530961b51350ae
parent7126ba1ee064def54c307a5e139884fc7d09c9bf
Machine Verifier: verify FrameSetup and FrameDestroy

1> on every path through the CFG, a FrameSetup <n> is always followed by a
   FrameDestroy <n> and a FrameDestroy is always followed by a FrameSetup.
2> stack adjustments are identical on all CFG edges to a merge point.
3> frame is destroyed at end of a return block.

PR16393

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186350 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp