1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00

FileCheck-ize this test.

llvm-svn: 115303
This commit is contained in:
Bill Wendling 2010-10-01 08:50:12 +00:00
parent 97f71e71c9
commit 7b19f58e1c

View File

@ -1,8 +1,9 @@
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep pextrd
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep punpckhdq | count 1
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck %s
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck %s
; There are no MMX operations in bork; promoted to XMM.
define void @bork(<1 x i64>* %x) {
; CHECK: pextrd
entry:
%tmp2 = load <1 x i64>* %x ; <<1 x i64>> [#uses=1]
%tmp6 = bitcast <1 x i64> %tmp2 to <2 x i32> ; <<2 x i32>> [#uses=1]
@ -16,6 +17,7 @@ entry:
; pork uses MMX.
define void @pork(x86_mmx* %x) {
; CHECK: punpckhdq
entry:
%tmp2 = load x86_mmx* %x ; <x86_mmx> [#uses=1]
%tmp9 = tail call x86_mmx @llvm.x86.mmx.punpckhdq (x86_mmx %tmp2, x86_mmx %tmp2)