mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 22:28:22 +00:00
b1933c02bc
-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
13 lines
464 B
LLVM
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
|
|
}
|