aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/dont-take-over-the-world.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AArch64/dont-take-over-the-world.ll')
-rw-r--r--test/CodeGen/AArch64/dont-take-over-the-world.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/AArch64/dont-take-over-the-world.ll b/test/CodeGen/AArch64/dont-take-over-the-world.ll
new file mode 100644
index 0000000..d9e13b7
--- /dev/null
+++ b/test/CodeGen/AArch64/dont-take-over-the-world.ll
@@ -0,0 +1,7 @@
+; RUN: not llc -mtriple=x86-64 2>&1 | FileCheck %s
+
+; To support "arm64" as a -march option, we need to register a second AArch64
+; target, but we have to be careful how we do that so that it doesn't become the
+; target of last resort when the specified triple is completely wrong.
+
+; CHECK: unable to get target for 'x86-64', see --version and --triple.