Remove caching in FunctionImport: a Module can't be reused after being linked from
[oota-llvm.git] / test / Transforms / IndVarSimplify / 2011-09-19-vectoriv.ll
1 ; RUN: opt < %s -indvars -S | FileCheck %s
2 ; PR10946: Vector IVs are not SCEVable.
3 ; CHECK-NOT: phi
4 define void @test() nounwind {
5 allocas:
6   br i1 undef, label %cif_done, label %for_loop398
7
8 cif_done:                                         ; preds = %allocas
9   ret void
10
11 for_loop398:                                      ; preds = %for_loop398, %allocas
12   %storemerge35 = phi <4 x i32> [ %storemerge, %for_loop398 ], [ undef, %allocas ]
13   %bincmp431 = icmp sge <4 x i32> %storemerge35, <i32 5, i32 5, i32 5, i32 5>
14   %storemerge = bitcast <4 x float> undef to <4 x i32>
15   br label %for_loop398
16 }