When lowering the 'resume' instruction, look to see if we can eliminate the
authorBill Wendling <isanbard@gmail.com>
Fri, 20 Jan 2012 00:53:28 +0000 (00:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 20 Jan 2012 00:53:28 +0000 (00:53 +0000)
commitb618ea5ff97182381107ab6bf52b0c2d8f783d7d
tree6cf09975013773c63d821590c5bd6f711f0e1246
parent9a2478ac1a9aafcd5e89808868e170cfdfefcdc1
When lowering the 'resume' instruction, look to see if we can eliminate the
'insertvalue' instructions that recreate the structure returned by the
'landingpad' instruction. Because the 'insertvalue' instruction isn't supported
by FastISel, this can save a bit of time during -O0 compilation.

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