1 ; RUN: opt %s -codegenprepare -mattr=+soft-float -S | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFP
2 ; RUN: opt %s -codegenprepare -mattr=-soft-float -S | FileCheck %s -check-prefix=CHECK -check-prefix=HARDFP
4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
14 define void @foo(float %a, float %b) {
16 %c = fcmp oeq float %a, %b
19 %IND = phi i32 [ 0, %entry ], [ %IND.new, %body1 ]
20 %CMP = icmp slt i32 %IND, 1250
21 br i1 %CMP, label %body, label %tail
23 br i1 %c, label %body1, label %tail
25 %IND.new = add i32 %IND, 1