]> granicus.if.org Git - clang/commitdiff
ARM: enable the integrated assembler by default for Darwin.
authorJim Grosbach <grosbach@apple.com>
Thu, 23 Feb 2012 21:55:04 +0000 (21:55 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 23 Feb 2012 21:55:04 +0000 (21:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151288 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.h

index 98c226b0e134cecdbdcf19d6dd99ebe97f868ded..0fb213828ff9e6780637e0c0864b6d7caea5eb1b 100644 (file)
@@ -329,9 +329,8 @@ public:
 #ifdef DISABLE_DEFAULT_INTEGRATED_ASSEMBLER
     return false;
 #else
-    // Default integrated assembler to on for x86.
-    return (getTriple().getArch() == llvm::Triple::x86 ||
-            getTriple().getArch() == llvm::Triple::x86_64);
+    // Default integrated assembler to on for Darwin.
+    return true;
 #endif
   }
   virtual bool IsStrictAliasingDefault() const {