2011-09-19-vectoriv.ll 598 B

12345678910111213141516
  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. cif_done: ; preds = %allocas
  8. ret void
  9. for_loop398: ; preds = %for_loop398, %allocas
  10. %storemerge35 = phi <4 x i32> [ %storemerge, %for_loop398 ], [ undef, %allocas ]
  11. %bincmp431 = icmp sge <4 x i32> %storemerge35, <i32 5, i32 5, i32 5, i32 5>
  12. %storemerge = bitcast <4 x float> undef to <4 x i32>
  13. br label %for_loop398
  14. }