| 1 |
; Test that inline assembly is parsed by the MC layer when MC support is mature |
| 2 |
; (even when the output is assembly). |
| 3 |
|
| 4 |
; RUN: not llc -mtriple=ppc32-- < %s > /dev/null 2> %t1 |
| 5 |
; RUN: FileCheck %s < %t1 |
| 6 |
|
| 7 |
; RUN: not llc -mtriple=ppc32-- -filetype=obj < %s > /dev/null 2> %t2 |
| 8 |
; RUN: FileCheck %s < %t2 |
| 9 |
|
| 10 |
; Test that we don't try to produce COFF for ppc. |
| 11 |
; RUN: not llc -mtriple=powerpc-mingw32 -filetype=obj < %s > /dev/null 2> %t2 |
| 12 |
; RUN: FileCheck %s < %t2 |
| 13 |
|
| 14 |
; RUN: not llc -mtriple=ppc64-- < %s > /dev/null 2> %t3 |
| 15 |
; RUN: FileCheck %s < %t3 |
| 16 |
|
| 17 |
; RUN: not llc -mtriple=ppc64-- -filetype=obj < %s > /dev/null 2> %t4 |
| 18 |
; RUN: FileCheck %s < %t4 |
| 19 |
|
| 20 |
; RUN: not llc -mtriple=ppc64--le < %s > /dev/null 2> %t5 |
| 21 |
; RUN: FileCheck %s < %t5 |
| 22 |
|
| 23 |
; RUN: not llc -mtriple=ppc64--le -filetype=obj < %s > /dev/null 2> %t6 |
| 24 |
; RUN: FileCheck %s < %t6 |
| 25 |
|
| 26 |
module asm " .this_directive_is_very_unlikely_to_exist" |
| 27 |
|
| 28 |
; CHECK: error: unknown directive |