llvm-mirror/test/CodeGen/AArch64/dont-take-over-the-world.ll
Tim Northover 43f2f4770b AArch64: stop trying to take control of all UnknownArch triples.
This short-circuited our error reporting for incorrectly specified
target triples (you'd get AArch64 code instead).

Should fix PR20567.

llvm-svn: 215191
2014-08-08 08:27:44 +00:00

8 lines
355 B
LLVM

; 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.