summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll
blob: 790bc1f329f1e76001601a4fcf2f3d74640ef748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -mtriple=i686-- -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
}