Cleaning out google tests from MC.
[oota-llvm.git] / test / CodeGen / PowerPC / mature-mc-support.ll
1 ; Test that inline assembly is parsed by the MC layer when MC support is mature
2 ; (even when the output is assembly).
3 ; FIXME: PowerPC doesn't use the integrated assembler by default in all cases
4 ; so we only test that -filetype=obj tries to parse the assembly.
5 ; FIXME: PowerPC doesn't appear to support -filetype=obj for ppc64le
6
7 ; SKIP: not llc -march=ppc32 < %s > /dev/null 2> %t1
8 ; SKIP: FileCheck %s < %t1
9
10 ; RUN: not llc -march=ppc32 -filetype=obj < %s > /dev/null 2> %t2
11 ; RUN: FileCheck %s < %t2
12
13 ; SKIP: not llc -march=ppc64 < %s > /dev/null 2> %t3
14 ; SKIP: FileCheck %s < %t3
15
16 ; RUN: not llc -march=ppc64 -filetype=obj < %s > /dev/null 2> %t4
17 ; RUN: FileCheck %s < %t4
18
19 ; SKIP: not llc -march=ppc64le < %s > /dev/null 2> %t5
20 ; SKIP: FileCheck %s < %t5
21
22 ; SKIP: not llc -march=ppc64le -filetype=obj < %s > /dev/null 2> %t6
23 ; SKIP: FileCheck %s < %t6
24
25 module asm "    .this_directive_is_very_unlikely_to_exist"
26
27 ; CHECK: LLVM ERROR: Error parsing inline asm