summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2012-05-04 09:40:39 +0000
committerHans Wennborg <hans@hanshq.net>2012-05-04 09:40:39 +0000
commitaea412008edd6f6bd882a06def48eac917c93048 (patch)
tree5538983c33271ce2e847939f7a84065f479e5c7c /llvm/lib/Target/ARM/ARMISelLowering.h
parent73d801cd8af9e64d4c87d576026aca53b8390394 (diff)
downloadbcm5719-llvm-aea412008edd6f6bd882a06def48eac917c93048.tar.gz
bcm5719-llvm-aea412008edd6f6bd882a06def48eac917c93048.zip
Make ARM and Mips use TargetMachine::getTLSModel()
This moves the logic for selecting a TLS model to a single place, instead of the previous three (ARM, Mips, and X86 which already uses this function). llvm-svn: 156162
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index 352d98001dd..31d83e0c874 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -422,7 +422,8 @@ namespace llvm {
SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
SelectionDAG &DAG) const;
SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
- SelectionDAG &DAG) const;
+ SelectionDAG &DAG,
+ TLSModel::Model model) const;
SDValue LowerGLOBAL_OFFSET_TABLE(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerBR_JT(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerSELECT(SDValue Op, SelectionDAG &DAG) const;
OpenPOWER on IntegriCloud