From: Michael Gottesman <mgottesman@apple.com>
Date: Thu, 25 Apr 2013 00:10:14 +0000 (+0000)
Subject: [neonemitter tests] Change triple of emitted tests to thumbv7s to match the target... 
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c873b51aea82cb7232c86c0012b9f493a62ef003;p=clang

[neonemitter tests] Change triple of emitted tests to thumbv7s to match the target cpu being swift. Also specify the target-abi to apcs-gnu.

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

diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp
index 6cd331133b..34b955e8e9 100644
--- a/utils/TableGen/NeonEmitter.cpp
+++ b/utils/TableGen/NeonEmitter.cpp
@@ -2221,7 +2221,7 @@ static std::string GenTest(const std::string &name,
 /// intrinsics.
 void NeonEmitter::runTests(raw_ostream &OS) {
   OS <<
-    "// RUN: %clang_cc1 -triple thumbv7-apple-darwin \\\n"
+    "// RUN: %clang_cc1 -triple thumbv7s-apple-darwin -target-abi apcs-gnu\\\n"
     "// RUN:  -target-cpu swift -ffreestanding -Os -S -o - %s\\\n"
     "// RUN:  | FileCheck %s\n"
     "\n"