]> granicus.if.org Git - clang/commitdiff
Revert r311137 (GlobalISel ABI commit).
authorTim Northover <tnorthover@apple.com>
Fri, 18 Aug 2017 00:33:24 +0000 (00:33 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Aug 2017 00:33:24 +0000 (00:33 +0000)
It was committed by mistake since it was in the same monorepo as the
LLVM change I was working on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311140 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains/Arch/ARM.cpp

index c69efd96e80f8c2122aefd9da4a042882cabeee0..49bb23535d73e234fef2be322a306a611f55efa3 100644 (file)
@@ -438,7 +438,7 @@ void arm::getARMTargetFeatures(const ToolChain &TC,
     //
     // The above behavior is consistent with GCC.
     int VersionNum = getARMSubArchVersionNumber(Triple);
-    if (Triple.isOSBinFormatMachO() || Triple.isOSNetBSD()) {
+    if (Triple.isOSDarwin() || Triple.isOSNetBSD()) {
       if (VersionNum < 6 ||
           Triple.getSubArch() == llvm::Triple::SubArchType::ARMSubArch_v6m)
         Features.push_back("+strict-align");