r190693 - [ARMv8] Change the naming of some options to be more consistent.

Joey Gouly joey.gouly at arm.com
Fri Sep 13 06:48:33 PDT 2013


Author: joey
Date: Fri Sep 13 08:48:33 2013
New Revision: 190693

URL: http://llvm.org/viewvc/llvm-project?rev=190693&view=rev
Log:
[ARMv8] Change the naming of some options to be more consistent.

Clang side changes for LLVM r190692.


Modified:
    cfe/trunk/lib/Driver/Tools.cpp
    cfe/trunk/test/Driver/arm-mfpu.c

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=190693&r1=190692&r2=190693&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Fri Sep 13 08:48:33 2013
@@ -592,9 +592,9 @@ static void getFPUFeatures(const Driver
     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");

Modified: cfe/trunk/test/Driver/arm-mfpu.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/arm-mfpu.c?rev=190693&r1=190692&r2=190693&view=diff
==============================================================================
--- cfe/trunk/test/Driver/arm-mfpu.c (original)
+++ cfe/trunk/test/Driver/arm-mfpu.c Fri Sep 13 08:48:33 2013
@@ -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 \





More information about the cfe-commits mailing list