[WinEH] Fix a case where GVN could incorrectly PRE a load into an EH pad.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Mon, 23 Nov 2015 19:51:41 +0000 (19:51 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Mon, 23 Nov 2015 19:51:41 +0000 (19:51 +0000)
commit704489d52e8a2e9f62b478b8a3d3612bfe03bfc5
treee7383cd0927d8b9f6e0e12b0d6ff39e99fe6d6d0
parentc558dd39be692e8355a719e1b6f922ce79787e3c
[WinEH] Fix a case where GVN could incorrectly PRE a load into an EH pad.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/pre-load.ll