[WinEH] Fix eh.exceptionpointer intrinsic lowering
authorJoseph Tremoulet <jotrem@microsoft.com>
Sat, 17 Oct 2015 00:08:08 +0000 (00:08 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Sat, 17 Oct 2015 00:08:08 +0000 (00:08 +0000)
commitc453b3420c1e74d3f4435e70bffb4d8ae9dcd6ec
tree965d31e1c8f55c84fc8d332e47c1815f3d427f2e
parentc9b72b920839730d805624bcf591ad03654469da
[WinEH] Fix eh.exceptionpointer intrinsic lowering

Summary:
Some shared code for handling eh.exceptionpointer and eh.exceptioncode
needs to not share the part that truncates to 32 bits, which is intended
just for exception codes.

Reviewers: rnk

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250588 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/WinEH/wineh-exceptionpointer.ll [new file with mode: 0644]