1 ; RUN: opt < %s -passes=indvars -S | FileCheck %s
4 ; Provide legal integer types.
5 target datalayout = "n8:16:32:64"
14 %i = phi float [ %nexti, %loop_body ], [ 0.0, %entry ]
16 %nexti = fadd float %i, 1.0
17 ; CHECK: icmp ne i32 %{{[a-zA-Z$._0-9]+}}, 2
18 %less = fcmp olt float %nexti, 2.0
19 br i1 %less, label %loop_body, label %done