Reapply r152486 with a fix for the nightly testers.
authorBill Wendling <isanbard@gmail.com>
Wed, 14 Mar 2012 07:28:01 +0000 (07:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 14 Mar 2012 07:28:01 +0000 (07:28 +0000)
commit30442f95573d7e0f505c573bd7462b77769010fa
treedec1aa5993b2fba123ccccbc46e624ae88d3a0e1
parent7bf116acd417e50f6fac677b9cb9204ee7f35c00
Reapply r152486 with a fix for the nightly testers.

There were cases where a value could be used and it's both crossing an invoke
and NOT crossing an invoke. This could happen in the landing pads. In that case,
we will demote the value to the stack like we did before.
<rdar://problem/10609139>

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