mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
d8b4183963
-mcpu does not choose arch automatically, on non-x86 hosts. llvm-svn: 151362
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
|
|
}
|