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; Test that we don't try to produce COFF for ppc.
14; RUN: not llc -mtriple=powerpc-mingw32 -filetype=obj < %s > /dev/null 2> %t2
15; RUN: FileCheck %s < %t2
16
17; SKIP: not llc -march=ppc64 < %s > /dev/null 2> %t3
18; SKIP: FileCheck %s < %t3
19
20; RUN: not llc -march=ppc64 -filetype=obj < %s > /dev/null 2> %t4
21; RUN: FileCheck %s < %t4
22
23; SKIP: not llc -march=ppc64le < %s > /dev/null 2> %t5
24; SKIP: FileCheck %s < %t5
25
26; SKIP: not llc -march=ppc64le -filetype=obj < %s > /dev/null 2> %t6
27; SKIP: FileCheck %s < %t6
28
29module asm "	.this_directive_is_very_unlikely_to_exist"
30
31; CHECK: LLVM ERROR: Error parsing inline asm
32