• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -indvars -S | FileCheck %s
2; PR10946: Vector IVs are not SCEVable.
3; CHECK-NOT: phi
4define void @test() nounwind {
5allocas:
6  br i1 undef, label %cif_done, label %for_loop398
7
8cif_done:                                         ; preds = %allocas
9  ret void
10
11for_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}
17