1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/SystemZ/mature-mc-support.ll
Kai Nacke b3f72a7ae7 Change -march=systemz to triple and fix test
These two test cases use -march=systemz instead of a triple. In
particular, the used file format is then based on the default host
triple. This leads to different behaviour on different platforms.

The SystemZ implementation uses the integrated assembler for a
long time now. The mature-mc-support test can be fully enabled.

Differential Revision: https://reviews.llvm.org/D68129

llvm-svn: 373098
2019-09-27 16:19:15 +00:00

14 lines
407 B
LLVM

; Test that inline assembly is parsed by the MC layer when MC support is mature
; (even when the output is assembly).
; RUN: not llc -mtriple=s390x-linux-gnu < %s > /dev/null 2> %t1
; RUN: FileCheck %s < %t1
; RUN: not llc -mtriple=s390x-linux-gnu -filetype=obj < %s > /dev/null 2> %t2
; RUN: FileCheck %s < %t2
module asm " .this_directive_is_very_unlikely_to_exist"
; CHECK: error: unknown directive