1*9880d681SAndroid Build Coastguard Worker; Test that inline assembly is parsed by the MC layer when MC support is mature 2*9880d681SAndroid Build Coastguard Worker; (even when the output is assembly). 3*9880d681SAndroid Build Coastguard Worker; FIXME: PowerPC doesn't use the integrated assembler by default in all cases 4*9880d681SAndroid Build Coastguard Worker; so we only test that -filetype=obj tries to parse the assembly. 5*9880d681SAndroid Build Coastguard Worker; FIXME: PowerPC doesn't appear to support -filetype=obj for ppc64le 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker; SKIP: not llc -march=ppc32 < %s > /dev/null 2> %t1 8*9880d681SAndroid Build Coastguard Worker; SKIP: FileCheck %s < %t1 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=ppc32 -filetype=obj < %s > /dev/null 2> %t2 11*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t2 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker; Test that we don't try to produce COFF for ppc. 14*9880d681SAndroid Build Coastguard Worker; RUN: not llc -mtriple=powerpc-mingw32 -filetype=obj < %s > /dev/null 2> %t2 15*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t2 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker; SKIP: not llc -march=ppc64 < %s > /dev/null 2> %t3 18*9880d681SAndroid Build Coastguard Worker; SKIP: FileCheck %s < %t3 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=ppc64 -filetype=obj < %s > /dev/null 2> %t4 21*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t4 22*9880d681SAndroid Build Coastguard Worker 23*9880d681SAndroid Build Coastguard Worker; SKIP: not llc -march=ppc64le < %s > /dev/null 2> %t5 24*9880d681SAndroid Build Coastguard Worker; SKIP: FileCheck %s < %t5 25*9880d681SAndroid Build Coastguard Worker 26*9880d681SAndroid Build Coastguard Worker; SKIP: not llc -march=ppc64le -filetype=obj < %s > /dev/null 2> %t6 27*9880d681SAndroid Build Coastguard Worker; SKIP: FileCheck %s < %t6 28*9880d681SAndroid Build Coastguard Worker 29*9880d681SAndroid Build Coastguard Workermodule asm " .this_directive_is_very_unlikely_to_exist" 30*9880d681SAndroid Build Coastguard Worker 31*9880d681SAndroid Build Coastguard Worker; CHECK: LLVM ERROR: Error parsing inline asm 32