llvm/test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll
NAKAMURA Takumi b1933c02bc test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll: Fixup to add -march=x86.
-mcpu does not choose arch automatically, on non-x86 hosts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151362 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-24 13:29:50 +00:00

13 lines
464 B
LLVM

; RUN: llc -march=x86 -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
}