diff options
Diffstat (limited to 'contrib/llvm/lib/CodeGen/LowerEmuTLS.cpp')
-rw-r--r-- | contrib/llvm/lib/CodeGen/LowerEmuTLS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/CodeGen/LowerEmuTLS.cpp b/contrib/llvm/lib/CodeGen/LowerEmuTLS.cpp index 0cf578b50563..36c1d358a9bd 100644 --- a/contrib/llvm/lib/CodeGen/LowerEmuTLS.cpp +++ b/contrib/llvm/lib/CodeGen/LowerEmuTLS.cpp @@ -68,7 +68,7 @@ bool LowerEmuTLS::runOnModule(Module &M) { return false; auto &TM = TPC->getTM<TargetMachine>(); - if (!TM.Options.EmulatedTLS) + if (!TM.useEmulatedTLS()) return false; bool Changed = false; |