FileCheck-ize

llvm-svn: 134348
This commit is contained in:
Chandler Carruth 2011-07-02 20:42:59 +00:00
parent f52f0502ca
commit a7440ff322
1 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,14 @@
; RUN: llc < %s -march=x86 | grep {psrlw \$8, %xmm0}
; RUN: llc < %s -march=x86 | FileCheck %s
target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin9"
define void @test() {
tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 )
ret void
; CHECK: test:
; CHECK-NOT: ret
; CHECK: psrlw $8, %xmm0
; CHECK: ret
tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 )
ret void
}