Lower AVX v4i64->v4i32 truncate to one shuffle.
[oota-llvm.git] / test / CodeGen / Mips / mips64ext.ll
index 7981ec7a473ee3878e04d96467aca41489d002b0..02a35f8e6ed75735e4e4ea6420fbe14f1d4af9c0 100644 (file)
@@ -17,3 +17,10 @@ entry:
   ret i64 %conv
 }
 
+define i64 @i64_float(float %f) nounwind readnone {
+entry:
+; CHECK: trunc.l.s 
+  %conv = fptosi float %f to i64
+  ret i64 %conv
+}
+