We must check for something.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2010-10-01 10:20:10 +00:00
parent c160218081
commit 273ac840bc
2 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,8 @@
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=x86_64-apple-darwin10 | FileCheck %s
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=x86_64-apple-darwin10 | FileCheck %s
; There are no MMX operations in bork; promoted to XMM.
define void @bork(<1 x i64>* %x) {
; CHECK: bork
; FIXMEHECK: pextrd
entry:
%tmp2 = load <1 x i64>* %x ; <<1 x i64>> [#uses=1]
@ -17,6 +17,7 @@ entry:
; pork uses MMX.
define void @pork(x86_mmx* %x) {
; CHECK: pork
; FIXMEHECK: punpckhdq
entry:
%tmp2 = load x86_mmx* %x ; <x86_mmx> [#uses=1]

View File

@ -4,6 +4,7 @@
define x86_mmx @mmx_movzl(x86_mmx %x) nounwind {
entry:
; CHECK: mmx_movzl
; FIXMEHECK: pinsrd
; FIXMEHECK: pinsrd
%tmp = bitcast x86_mmx %x to <2 x i32>