1 ; RUN: opt %loadPolly -polly-codegen < %s
2 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
4 define void @fft_float(i32 %NumSamples) nounwind {
8 br i1 false, label %bb19, label %bb22
11 %a = uitofp i32 %NumSamples to double ; <double> [#uses=1]
15 %1 = load float, ptr undef, align 4 ; <float> [#uses=0]
16 %2 = fpext float undef to double ; <double> [#uses=1]
17 %3 = fdiv double %2, %a ; <double> [#uses=0]
18 %indvar.next = add i64 %indvar, 1 ; <i64> [#uses=1]
21 bb21: ; preds = %bb20, %bb19
22 %indvar = phi i64 [ %indvar.next, %bb20 ], [ 0, %bb19 ] ; <i64> [#uses=1]
23 br i1 false, label %bb20, label %bb22.loopexit
25 bb22.loopexit: ; preds = %bb21
28 bb22: ; preds = %bb22.loopexit, %bb18
31 return: ; preds = %bb22