1; RUN: opt %loadPolly -polly-codegen < %s 2target 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" 3 4define void @fft_float(i32 %NumSamples) nounwind { 5 br label %bb18 6 7bb18: ; preds = %bb17 8 br i1 false, label %bb19, label %bb22 9 10bb19: ; preds = %bb18 11 %a = uitofp i32 %NumSamples to double ; <double> [#uses=1] 12 br label %bb21 13 14bb20: ; preds = %bb21 15 %1 = load float, float* 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] 19 br label %bb21 20 21bb21: ; preds = %bb20, %bb19 22 %indvar = phi i64 [ %indvar.next, %bb20 ], [ 0, %bb19 ] ; <i64> [#uses=1] 23 br i1 false, label %bb20, label %bb22.loopexit 24 25bb22.loopexit: ; preds = %bb21 26 br label %bb22 27 28bb22: ; preds = %bb22.loopexit, %bb18 29 br label %return 30 31return: ; preds = %bb22 32 ret void 33} 34