llvm/test/CodeGen/X86: Update tests with -mattr=-bmi not to take BMI, corresponding...
[oota-llvm.git] / test / CodeGen / X86 / 2008-08-23-64Bit-maskmovq.ll
index 2c6828bbd0aa91cc5df28c298cfe1d0ed2540ad9..53402c04511cf7968246abb28e30b1ea96637c22 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64
+; RUN: llc < %s -march=x86-64
 
        %struct.DrawHelper = type { void (i32, %struct.QT_FT_Span*, i8*)*, void (i32, %struct.QT_FT_Span*, i8*)*, void (%struct.QRasterBuffer*, i32, i32, i32, i8*, i32, i32, i32)*, void (%struct.QRasterBuffer*, i32, i32, i32, i8*, i32, i32, i32)*, void (%struct.QRasterBuffer*, i32, i32, i32, i32, i32)* }
        %struct.QBasicAtomic = type { i32 }
@@ -17,11 +17,13 @@ entry:
        br i1 false, label %bb.nph144.split, label %bb133
 
 bb.nph144.split:               ; preds = %entry
-       tail call void @llvm.x86.mmx.maskmovq( <8 x i8> zeroinitializer, <8 x i8> zeroinitializer, i8* null ) nounwind
+        %tmp = bitcast <8 x i8> zeroinitializer to x86_mmx
+        %tmp2 = bitcast <8 x i8> zeroinitializer to x86_mmx
+       tail call void @llvm.x86.mmx.maskmovq( x86_mmx %tmp, x86_mmx %tmp2, i8* null ) nounwind
        unreachable
 
 bb133:         ; preds = %entry
        ret void
 }
 
-declare void @llvm.x86.mmx.maskmovq(<8 x i8>, <8 x i8>, i8*) nounwind
+declare void @llvm.x86.mmx.maskmovq(x86_mmx, x86_mmx, i8*) nounwind