Make ARM and Mips use TargetMachine::getTLSModel()
authorHans Wennborg <hans@hanshq.net>
Fri, 4 May 2012 09:40:39 +0000 (09:40 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 4 May 2012 09:40:39 +0000 (09:40 +0000)
commitfd5abd546e8e035755005a654d60d6f5f74cfe2c
tree16e718f75d032b46c3ce2492ec3e1c1768ccbdb6
parent31a207a3b748261e3556328bd8a80a75ffbb698d
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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156162 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/Mips/MipsISelLowering.cpp