Make sure we don't emit instructions before a landingpad instruction.
authorBill Wendling <isanbard@gmail.com>
Tue, 8 Jan 2013 10:51:32 +0000 (10:51 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 8 Jan 2013 10:51:32 +0000 (10:51 +0000)
commit3cc48a062821557a2ccaa8df26dd3a98d64c44b9
treeba33ead484fe6cf9bfae162d2b2b91f62342e0b0
parent0b740236b71f0f3811421885c04cc43130f88bef
Make sure we don't emit instructions before a landingpad instruction.
PR14782

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/DemoteRegToStack.cpp
test/Transforms/Reg2Mem/crash.ll [new file with mode: 0644]
test/Transforms/Reg2Mem/lit.local.cfg [new file with mode: 0644]