xref: /aosp_15_r20/external/llvm/test/CodeGen/SystemZ/mature-mc-support.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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: SystemZ doesn't use the integrated assembler by default so we only test
4*9880d681SAndroid Build Coastguard Worker; that -filetype=obj tries to parse the assembly.
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker; SKIP: not llc -march=systemz < %s > /dev/null 2> %t1
7*9880d681SAndroid Build Coastguard Worker; SKIP: FileCheck %s < %t1
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=systemz -filetype=obj < %s > /dev/null 2> %t2
10*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s < %t2
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Workermodule asm "	.this_directive_is_very_unlikely_to_exist"
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard Worker; CHECK: LLVM ERROR: Error parsing inline asm
16