1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-crbits | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s -check-prefix=CHECK-CRB 3*9880d681SAndroid Build Coastguard Workertarget 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-f128:128:128-v128:128:128-n32:64" 4*9880d681SAndroid Build Coastguard Workertarget triple = "powerpc64-unknown-linux-gnu" 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine void @_Z8example3iPiS_() #0 { 7*9880d681SAndroid Build Coastguard Workerentry: 8*9880d681SAndroid Build Coastguard Worker br i1 undef, label %while.end, label %while.body.lr.ph 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workerwhile.body.lr.ph: ; preds = %entry 11*9880d681SAndroid Build Coastguard Worker br i1 undef, label %while.end, label %while.body 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Workerwhile.body: ; preds = %while.body, %while.body.lr.ph 14*9880d681SAndroid Build Coastguard Worker br i1 false, label %while.end, label %while.body, !llvm.loop.vectorize.already_vectorized !0 15*9880d681SAndroid Build Coastguard Worker 16*9880d681SAndroid Build Coastguard Workerwhile.end: ; preds = %while.body, %while.body.lr.ph, %entry 17*9880d681SAndroid Build Coastguard Worker ret void 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Worker; CHECK: @_Z8example3iPiS_ 20*9880d681SAndroid Build Coastguard Worker; CHECK: bnelr 21*9880d681SAndroid Build Coastguard Worker 22*9880d681SAndroid Build Coastguard Worker; CHECK-CRB: @_Z8example3iPiS_ 23*9880d681SAndroid Build Coastguard Worker; CHECK-CRB: bclr 12, 24*9880d681SAndroid Build Coastguard Worker} 25*9880d681SAndroid Build Coastguard Worker 26*9880d681SAndroid Build Coastguard Workerattributes #0 = { noinline nounwind } 27*9880d681SAndroid Build Coastguard Worker 28*9880d681SAndroid Build Coastguard Worker!0 = !{} 29*9880d681SAndroid Build Coastguard Worker 30