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.
19 lines
431 B
19 lines
431 B
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
|
|
; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
|
|
|
|
define void @func() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define void @main() {
|
|
entry:
|
|
call void asm sideeffect inteldialect "call ${0:P}", "*m,~{dirflag},~{fpsr},~{flags}"(void ()* @func)
|
|
ret void
|
|
; CHECK-LABEL: main:
|
|
; CHECK: {{## InlineAsm Start|#APP}}
|
|
; CHECK: {{call(l|q) func$}}
|
|
; CHECK: {{## InlineAsm End|#NO_APP}}
|
|
; CHECK: ret{{l|q}}
|
|
}
|