You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
576 B
15 lines
576 B
;; Test that macros in inline assembly blocks share the same context,
|
|
;; thus a definition is available to the whole file. PR36110
|
|
; 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
|
|
}
|