Loop Vectorizer: Update the cost model of scatter/gather operations and make
[oota-llvm.git] / test / Transforms / LoopVectorize / X86 / cost-model.ll
index 628f9912c8c94baed1f35536a2bbc1e2c684faf5..b7f479acf96250d0a1f573c004b762dea570bb83 100644 (file)
@@ -8,8 +8,11 @@ target triple = "x86_64-apple-macosx10.8.0"
 @d = common global [2048 x i32] zeroinitializer, align 16
 @a = common global [2048 x i32] zeroinitializer, align 16
 
+; The program below gathers and scatters data. We better not vectorize it.
 ;CHECK: cost_model_1
-;CHECK: <4 x i32>
+;CHECK-NOT: <2 x i32>
+;CHECK-NOT: <4 x i32>
+;CHECK-NOT: <8 x i32>
 ;CHECK: ret void
 define void @cost_model_1() nounwind uwtable noinline ssp {
 entry: