Don't punish vectorized arithmetic instruction whose type will be split to multiple...
[oota-llvm.git] / test / Analysis / CostModel / X86 / reduction.ll
index 78e65aee1460927218ef83aef8d4ce843ee15c91..aaafe07c1eb82371eeea08736902a630ed3773db 100644 (file)
@@ -33,7 +33,7 @@ define fastcc i32 @reduction_cost_int(<8 x i32> %rdx) {
   %bin.rdx.3 = add <8 x i32> %bin.rdx.2, %rdx.shuf.3
 
 ; CHECK-LABEL: reduction_cost_int
-; CHECK:  cost of 23 {{.*}} extractelement
+; CHECK:  cost of 17 {{.*}} extractelement
 
   %r = extractelement <8 x i32> %bin.rdx.3, i32 0
   ret i32 %r