19 lines · plain
1; RUN: llc < %s -mtriple=i686-- | FileCheck %s2; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s3 4define dso_local void @func() {5entry:6 ret void7}8 9define dso_local void @main() {10entry:11 call void asm sideeffect inteldialect "call ${0:P}", "*m,~{dirflag},~{fpsr},~{flags}"(ptr elementtype(void ()) @func)12 ret void13; CHECK-LABEL: main:14; CHECK: {{## InlineAsm Start|#APP}}15; CHECK: {{call(l|q) func$}}16; CHECK: {{## InlineAsm End|#NO_APP}}17; CHECK: ret{{l|q}}18}19