x32. Fixes a bug in x32 exception handling.
authorDerek Schuff <dschuff@google.com>
Wed, 19 Aug 2015 16:28:21 +0000 (16:28 +0000)
committerDerek Schuff <dschuff@google.com>
Wed, 19 Aug 2015 16:28:21 +0000 (16:28 +0000)
commit946eb8b5c6a501954a19578402d9618654df65c7
treedc4ff2fea2efc6ed4491b724c671db3f1fea8473
parent36fdcfb93ada212cea2b363629dc63e558707ca1
x32. Fixes a bug in x32 exception handling.

This patch updates the X86 lowering so that the Exception Pointer and Selector
are 64-bit wide only if Subtarget.isTarget64BitLP64.

Patch by João Porto

Reviewers: dschuff, rnk
Differential Revision: http://reviews.llvm.org/D12111

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245454 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/x32-landingpad.ll [new file with mode: 0644]