ARM: enable the integrated assembler by default for Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151454
91177308-0d34-0410-b5e6-
96231b3b80d8
#ifdef DISABLE_DEFAULT_INTEGRATED_ASSEMBLER
return false;
#else
- // Default integrated assembler to on for Darwin.
- return true;
+ // Default integrated assembler to on for x86.
+ return (getTriple().getArch() == llvm::Triple::x86 ||
+ getTriple().getArch() == llvm::Triple::x86_64);
#endif
}
virtual bool IsStrictAliasingDefault() const {