summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.h
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-10-03 06:29:58 +0000
committerMartin Storsjo <martin@martin.st>2017-10-03 06:29:58 +0000
commit1e54738676babb54c2c64b7d2a7fadbaf903d7f5 (patch)
tree8d7ff4a1ead7e06323d965f521ce50638397a784 /llvm/lib/Target/X86/X86ISelLowering.h
parenta1b8e0352f3a7c806f9958839bf9b6880e1340b8 (diff)
downloadbcm5719-llvm-1e54738676babb54c2c64b7d2a7fadbaf903d7f5.tar.gz
bcm5719-llvm-1e54738676babb54c2c64b7d2a7fadbaf903d7f5.zip
[X86] Provide the LSDA pointer with RIP relative addressing if necessary
This makes sure the LSDA pointer isn't truncated to 32 bit. Make LowerINTRINSIC_WO_CHAIN a member function instead of a static function, so that it can use the getGlobalWrapperKind method. This solves the second half of the issues mentioned in PR34720. Differential Revision: https://reviews.llvm.org/D38343 llvm-svn: 314767
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.h')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h
index 8b023b7a260..1ebe43c0f7e 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.h
+++ b/llvm/lib/Target/X86/X86ISelLowering.h
@@ -1189,6 +1189,7 @@ namespace llvm {
SDValue LowerWin64_i128OP(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerGC_TRANSITION_START(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerGC_TRANSITION_END(SDValue Op, SelectionDAG &DAG) const;
+ SDValue LowerINTRINSIC_WO_CHAIN(SDValue Op, SelectionDAG &DAG) const;
SDValue
LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
OpenPOWER on IntegriCloud