88fb96d1bf9b6978dcfff04c0972424337b18923
[oota-llvm.git] / test / MC / ARM / unrecognized.ll
1 ; RUN: llc -mcpu=invalid -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CPU
2 ; CPU:     'invalid' is not a recognized processor for this target (ignoring processor)
3 ; CPU-NOT: 'invalid' is not a recognized processor for this target (ignoring processor)
4
5 ; RUN: llc -mattr=+foo,+bar -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=FEATURE
6 ; FEATURE:      'foo' is not a recognized feature for this target (ignoring feature)
7 ; FEATURE-NEXT: 'bar' is not a recognized feature for this target (ignoring feature)
8 ; FEATURE-NOT:  'foo' is not a recognized feature for this target (ignoring feature)
9 ; FEATURE-NOT:  'bar' is not a recognized feature for this target (ignoring feature)
10
11 define void @foo() {
12 entry:
13   ret void
14 }
15