30 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-crbits | FileCheck %s2; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s -check-prefix=CHECK-CRB3target 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"4target triple = "powerpc64-unknown-linux-gnu"5 6define void @_Z8example3iPiS_() #0 {7entry:8 br i1 undef, label %while.end, label %while.body.lr.ph9 10while.body.lr.ph: ; preds = %entry11 br i1 undef, label %while.end, label %while.body12 13while.body: ; preds = %while.body, %while.body.lr.ph14 br i1 false, label %while.end, label %while.body, !llvm.loop.vectorize.already_vectorized !015 16while.end: ; preds = %while.body, %while.body.lr.ph, %entry17 ret void18 19; CHECK: @_Z8example3iPiS_20; CHECK: bnelr21 22; CHECK-CRB: @_Z8example3iPiS_23; CHECK-CRB: bclr 12,24}25 26attributes #0 = { noinline nounwind }27 28!0 = !{}29 30