Optimize sext <4 x i8> and <4 x i16> to <4 x i64>.
[oota-llvm.git] / test / Analysis / CostModel / X86 / cast.ll
index bacc77869170fa7086631ab3d7c204cad9b61d4e..c8d0f6fd8e5523b2a2828dd5cb509bf68d24a0c2 100644 (file)
@@ -44,9 +44,9 @@ define i32 @zext_sext(<8 x i1> %in) {
   %B = zext <8 x i16> undef to <8 x i32>
   ;CHECK: cost of 1 {{.*}} sext
   %C = sext <4 x i32> undef to <4 x i64>
-  ;CHECK: cost of 8 {{.*}} sext
+  ;CHECK: cost of 6 {{.*}} sext
   %C1 = sext <4 x i8> undef to <4 x i64>
-  ;CHECK: cost of 8 {{.*}} sext
+  ;CHECK: cost of 6 {{.*}} sext
   %C2 = sext <4 x i16> undef to <4 x i64>
 
   ;CHECK: cost of 1 {{.*}} zext