From: Joey Gouly Date: Fri, 13 Sep 2013 13:48:33 +0000 (+0000) Subject: [ARMv8] Change the naming of some options to be more consistent. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b33b7e978f5e47b6f0a1f264b77eb110966edf0;p=clang [ARMv8] Change the naming of some options to be more consistent. Clang side changes for LLVM r190692. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190693 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index eca94b66ef..19f9c313c2 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -592,9 +592,9 @@ static void getFPUFeatures(const Driver &D, const Arg *A, const ArgList &Args, Features.push_back("+vfp3"); Features.push_back("-neon"); } else if (FPU == "fp-armv8") { - Features.push_back("+v8fp"); + Features.push_back("+fp-armv8"); } else if (FPU == "neon-fp-armv8") { - Features.push_back("+v8fp"); + Features.push_back("+fp-armv8"); Features.push_back("+neon"); } else if (FPU == "neon") { Features.push_back("+neon"); diff --git a/test/Driver/arm-mfpu.c b/test/Driver/arm-mfpu.c index de28232399..88e3ff8efd 100644 --- a/test/Driver/arm-mfpu.c +++ b/test/Driver/arm-mfpu.c @@ -49,11 +49,11 @@ // RUN: %clang -target armv8-linux-gnueabihf -mfpu=fp-armv8 %s -### 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-FP-ARMV8 %s -// CHECK-FP-ARMV8: "-target-feature" "+v8fp" +// CHECK-FP-ARMV8: "-target-feature" "+fp-armv8" // RUN: %clang -target armv8-linux-gnueabihf -mfpu=neon-fp-armv8 %s -### 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-NEON-FP-ARMV8 %s -// CHECK-NEON-FP-ARMV8: "-target-feature" "+v8fp" +// CHECK-NEON-FP-ARMV8: "-target-feature" "+fp-armv8" // CHECK-NEON-FP-ARMV8: "-target-feature" "+neon" // RUN: %clang -target arm-linux-gnueabihf %s -### 2>&1 \