[WinEH] Minor bug fixes.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Wed, 8 Apr 2015 20:57:22 +0000 (20:57 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Wed, 8 Apr 2015 20:57:22 +0000 (20:57 +0000)
commit67d3c0359d9bc0b43406f831a66b7c638e82ae28
treeed4c65c6df30255e46844141328e00bbe737bd0d
parentd3165af7566de4a48e4639ff17cd8ce35db2e1f7
[WinEH] Minor bug fixes.

Fixed insert point for allocas created for demoted values.
Clear the nested landing pad list after it has been processed.

llvm-svn: 234433
llvm/lib/CodeGen/WinEHPrepare.cpp
llvm/test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll