]> granicus.if.org Git - clang/commitdiff
Remove DISABLE_ARM_DARWIN_USE_MOVT ifdefs. Radar 9456730.
authorBob Wilson <bob.wilson@apple.com>
Thu, 6 Oct 2011 21:52:27 +0000 (21:52 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 6 Oct 2011 21:52:27 +0000 (21:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141320 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index b9d471323d980b653e9b537fa9c1494a99785d6e..ae65907af3739fbcef3e2bfb55ca2afbab32e085 100644 (file)
@@ -549,12 +549,6 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
   const Driver &D = getToolChain().getDriver();
   llvm::Triple Triple = getToolChain().getTriple();
 
-  // Disable movt generation, if requested.
-#ifdef DISABLE_ARM_DARWIN_USE_MOVT
-  CmdArgs.push_back("-backend-option");
-  CmdArgs.push_back("-arm-darwin-use-movt=0");
-#endif
-
   // Select the ABI to use.
   //
   // FIXME: Support -meabi.
@@ -725,10 +719,8 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
     CmdArgs.push_back("-arm-strict-align");
 
     // The kext linker doesn't know how to deal with movw/movt.
-#ifndef DISABLE_ARM_DARWIN_USE_MOVT
     CmdArgs.push_back("-backend-option");
     CmdArgs.push_back("-arm-darwin-use-movt=0");
-#endif
   }
 
   // Setting -mno-global-merge disables the codegen global merge pass. Setting