diff options
-rw-r--r-- | lib/Target/ARM/ARMExpandPseudoInsts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/lib/Target/ARM/ARMExpandPseudoInsts.cpp index 4956c59606..348f234f5c 100644 --- a/lib/Target/ARM/ARMExpandPseudoInsts.cpp +++ b/lib/Target/ARM/ARMExpandPseudoInsts.cpp @@ -932,7 +932,7 @@ bool ARMExpandPseudo::ExpandMI(MachineBasicBlock &MBB, case ARM::tTPsoft: case ARM::TPsoft: { // @LOCALMOD-BEGIN - if (llvm::TLSUseCall) { + if (!STI->isTargetNaCl() || llvm::TLSUseCall) { // Don't add implicit uses/defs for this call, otherwise // liveness analysis passes get confused. MachineInstrBuilder MIB = |