mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
5a7de1d054
- Background here is that that these sets of tests are "invalid" to be run on z/OS - The reason is because these test constructs that HLASM never supports (HLASM doesn't support GNU style directives) - Usually tests are geared towards a particular target via the use of a triple that targets just that platform, but these tests require the use of a "default triple" - Thus, we mark these tests as "UNSUPPORTED" for z/OS since we don't want to run these for z/OS Reviewed By: yusra.syeda, abhina.sreeskantharajan Differential Revision: https://reviews.llvm.org/D105204
16 lines
596 B
LLVM
16 lines
596 B
LLVM
;; Test that macros in inline assembly blocks share the same context,
|
|
;; thus a definition is available to the whole file. PR36110
|
|
; UNSUPPORTED: -zos
|
|
; RUN: not llc < %s 2>&1 | FileCheck %s
|
|
; REQUIRES: default_triple
|
|
;; This test is expected to fail on AIX,
|
|
;; since the integrated assembly parser was not implemented yet for AIX.
|
|
; XFAIL: aix
|
|
|
|
define void @test() {
|
|
call void asm sideeffect ".macro FOO\0A.endm", "~{dirflag},~{fpsr},~{flags}"() #1
|
|
call void asm sideeffect ".macro FOO\0A.endm", "~{dirflag},~{fpsr},~{flags}"() #1
|
|
; CHECK: error: macro 'FOO' is already defined
|
|
ret void
|
|
}
|