]> granicus.if.org Git - clang/commitdiff
[5/6] ARM Neon Intrinsic Tablegen Test Generator.
authorMichael Gottesman <mgottesman@apple.com>
Tue, 16 Apr 2013 22:55:01 +0000 (22:55 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 16 Apr 2013 22:55:01 +0000 (22:55 +0000)
Changed the test generation target cpu type from cortex-a9 to swift.

Reviewed by Bob Wilson.

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

utils/TableGen/NeonEmitter.cpp

index 3b88020e5fa5c5f048f948a58a21aab58d3a5578..a60a0cb7b5284fa3aab8749455062ff5e4411c9d 100644 (file)
@@ -1761,7 +1761,8 @@ static std::string GenTest(const std::string &name,
 void NeonEmitter::runTests(raw_ostream &OS) {
   OS <<
     "// RUN: %clang_cc1 -triple thumbv7-apple-darwin \\\n"
-    "// RUN:  -target-cpu cortex-a9 -ffreestanding -S -o - %s | FileCheck %s\n"
+    "// RUN:  -target-cpu swift -ffreestanding -Os -S -o - %s\\\n"
+    "// RUN:  | FileCheck %s\n"
     "\n"
     "#include <arm_neon.h>\n"
     "\n";