Revert commit 66140 since it caused several failures
authorDuncan Sands <baldrick@free.fr>
Thu, 12 Mar 2009 21:13:42 +0000 (21:13 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 12 Mar 2009 21:13:42 +0000 (21:13 +0000)
commit58256f83c86d85df24874db0db78b0bc972d6258
tree621b35004e94e39fd3e001092f6df57657ca66f2
parent87af5f029645652e1721aef9c6ed4310bfec54c5
Revert commit 66140 since it caused several failures
in the Ada testcase.  Reverting this only covers up
the real problem, which is a nasty conceptual difficulty
in the phi elimination pass: when eliminating phi nodes
in landing pads, the register copies need to come before
the invoke, not at the end of the basic block which is
too late...  See PR3784.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66826 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
test/CodeGen/X86/split-eh-lpad-edges.ll