llvm-6502/test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll
Bill Wendling 9e8ceb0bac Allow an integer to be converted into an MMX type when it's used in an inline
asm.
<rdar://problem/10106006>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151303 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 23:25:25 +00:00

13 lines
453 B
LLVM

; RUN: llc -mcpu=i686 -mattr=+mmx < %s | FileCheck %s
; <rdar://problem/10106006>
define void @func() nounwind ssp {
; CHECK: psrlw %mm0, %mm1
entry:
call void asm sideeffect "psrlw $0, %mm1", "y,~{dirflag},~{fpsr},~{flags}"(i32 8) nounwind
unreachable
bb367: ; preds = %entry
ret void
}