brintos

brintos / llvm-project-archived public Read only

0
0
Text · 712 B · 653ffd0 Raw
21 lines · plain
1; Test that inline assembly is parsed by the MC layer when MC support is mature2; (even when the output is assembly).3; FIXME: SPARC doesn't use the integrated assembler by default in all cases4; so we only test that -filetype=obj tries to parse the assembly.5 6; SKIP: not llc -mtriple=sparc < %s > /dev/null 2> %t17; SKIP: FileCheck %s < %t18 9; RUN: not llc -mtriple=sparc -filetype=obj < %s > /dev/null 2> %t210; RUN: FileCheck %s < %t211 12; SKIP: not llc -mtriple=sparcv9 < %s > /dev/null 2> %t313; SKIP: FileCheck %s < %t314 15; RUN: not llc -mtriple=sparcv9 -filetype=obj < %s > /dev/null 2> %t416; RUN: FileCheck %s < %t417 18module asm "	.this_directive_is_very_unlikely_to_exist"19 20; CHECK: error: unknown directive21