Fix a logic bug in x86 vector codegen: sext (zext (x) ) != sext (x) (PR20472).
[oota-llvm.git] / test / CodeGen / X86 / 2008-08-23-64Bit-maskmovq.ll
index c76dd7de12560e4463faf717220951f7f7c0a412..53402c04511cf7968246abb28e30b1ea96637c22 100644 (file)
@@ -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