[WinEH] Fix problem where CodeGenPrepare incorrectly sinks a bitcast into an EH pad.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Mon, 23 Nov 2015 19:16:15 +0000 (19:16 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Mon, 23 Nov 2015 19:16:15 +0000 (19:16 +0000)
commite03f5e5c4320addfb9816f4ea851ccc075721532
tree3fde80bcea25af5549f6678f717be43f4e7f5a40
parent5aafb6def54fc6f4de28e1bccc42a036ca8e33bf
[WinEH] Fix problem where CodeGenPrepare incorrectly sinks a bitcast into an EH pad.

Differential Revision: http://reviews.llvm.org/D14842

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253902 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/Transforms/CodeGenPrepare/catchpad-phi-cast.ll [new file with mode: 0644]