summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-13 11:06:23 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-13 11:06:23 +0000
commit92a24ec0137df8594379763a1ac82f1a9069abc9 (patch)
tree245b0a22b3782c2ef0e5f2b8713fb6382cf15e0e /test/CodeGen
parenta7181f21fbb1a3ff959aa9b1563a8d97d3772d7e (diff)
downloadllvm-92a24ec0137df8594379763a1ac82f1a9069abc9.tar.gz
llvm-92a24ec0137df8594379763a1ac82f1a9069abc9.tar.bz2
llvm-92a24ec0137df8594379763a1ac82f1a9069abc9.tar.xz
llvm/test/CodeGen/AArch64/cpus.ll: Tweak to use -mtriple=aarch64-unknown-unknown, or this would crash for targeting pecoff like *-mingw32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/AArch64/cpus.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/AArch64/cpus.ll b/test/CodeGen/AArch64/cpus.ll
index 9d9b5e4a39..f0b60f040f 100644
--- a/test/CodeGen/AArch64/cpus.ll
+++ b/test/CodeGen/AArch64/cpus.ll
@@ -1,9 +1,9 @@
; This tests that llc accepts all valid AArch64 CPUs
-; RUN: llc < %s -march=aarch64 -mcpu=generic 2>&1 | FileCheck %s
-; RUN: llc < %s -march=aarch64 -mcpu=cortex-a53 2>&1 | FileCheck %s
-; RUN: llc < %s -march=aarch64 -mcpu=cortex-a57 2>&1 | FileCheck %s
-; RUN: llc < %s -march=aarch64 -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
+; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=cortex-a53 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=cortex-a57 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
; CHECK-NOT: {{.*}} is not a recognized processor for this target
; INVALID: {{.*}} is not a recognized processor for this target