[x32] Fix FrameIndex check in SelectLEA64_32Addr
[oota-llvm.git] / test / CodeGen / X86 / mmx-punpckhdq.ll
index a7c0c05a86470664a16cc8db9dc79e42161099e5..9e8f5bf53363b7532614f5ff50b586c13ec53c61 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse4.2 -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: pextrd
+; CHECK: bork
+; CHECK: movlpd
 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]
@@ -17,6 +17,7 @@ entry:
 ; pork uses MMX.
 
 define void @pork(x86_mmx* %x) {
+; CHECK: pork
 ; CHECK: punpckhdq
 entry:
        %tmp2 = load x86_mmx* %x                ; <x86_mmx> [#uses=1]