aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index f648b27d..30f5881 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -198,8 +198,8 @@ bool TargetMachine::shouldAssumeDSOLocal(const Module &M,
// variables.
if (!GV || F)
return true;
- // TODO Remove the special case for x86-32 and wasm.
- if ((Arch == Triple::x86 || TT.isWasm()) && !GV->isThreadLocal())
+ // TODO Remove the special case for x86-32.
+ if (Arch == Triple::x86 && !GV->isThreadLocal())
return true;
}
} else if (TT.isOSBinFormatELF()) {