[ARM] Generate 8.1-m CSINC, CSNEG and CSINV instructions.
[llvm-core.git] / test / CodeGen / Thumb2 / 2009-11-01-CopyReg2RegBug.ll
blob7363a4a8eb5a4606f2ce5dbf848a1337ea096a86
1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -relocation-model=pic -frame-pointer=all -mcpu=cortex-a8
3 define void @get_initial_mb16x16_cost() nounwind {
4 entry:
5   br i1 undef, label %bb4, label %bb1
7 bb1:                                              ; preds = %entry
8   br label %bb7
10 bb4:                                              ; preds = %entry
11   br i1 undef, label %bb7.thread, label %bb5
13 bb5:                                              ; preds = %bb4
14   br label %bb7
16 bb7.thread:                                       ; preds = %bb4
17   br label %bb8
19 bb7:                                              ; preds = %bb5, %bb1
20   br i1 undef, label %bb8, label %bb10
22 bb8:                                              ; preds = %bb7, %bb7.thread
23   %0 = phi double [ 5.120000e+02, %bb7.thread ], [ undef, %bb7 ] ; <double> [#uses=1]
24   %1 = fdiv double %0, undef                      ; <double> [#uses=0]
25   unreachable
27 bb10:                                             ; preds = %bb7
28   ret void