73 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-unknown \3; RUN: -ppc-asm-full-reg-names -verify-machineinstrs -O3 < %s | FileCheck %s \4; RUN: --check-prefix=CHECK-P95 6%class.A = type <{ %"class.D", %"class.D", i32, i32, i32, %"class.B", %"class.C", %"class.C", %"class.C", %"class.C", %"class.D", [2 x i8], %"class.E", %"class.F", %"class.G", %"class.G", %"class.H", i32, [4 x i8] }>7%"class.B" = type { [441 x i32] }8%"class.C" = type { [442 x i16] }9%"class.D" = type { [441 x i16] }10%"class.E" = type { [4 x i32] }11%"class.F" = type { [8 x i32] }12%"class.G" = type { [2 x i32] }13%"class.H" = type { %"struct.A" }14%"struct.A" = type { %"struct.B" }15%"struct.B" = type { ptr, ptr, ptr }16 17define dso_local i1 @t(ptr %this, i32 %color, i32 %vertex) local_unnamed_addr {18; CHECK-P9-LABEL: t:19; CHECK-P9: # %bb.0: # %entry20; CHECK-P9-NEXT: li r5, 121; CHECK-P9-NEXT: bc 12, 4*cr5+lt, .LBB0_422; CHECK-P9-NEXT: # %bb.1: # %land.lhs.true23; CHECK-P9-NEXT: bc 12, 4*cr5+lt, .LBB0_524; CHECK-P9-NEXT: .LBB0_2: # %for.inc25; CHECK-P9-NEXT: lhz r3, 5308(r3)26; CHECK-P9-NEXT: cmplwi r3, 227; CHECK-P9-NEXT: bge- cr0, .LBB0_628; CHECK-P9-NEXT: # %bb.3: # %land.lhs.true.129; CHECK-P9-NEXT: li r3, 030; CHECK-P9-NEXT: blr31; CHECK-P9-NEXT: .LBB0_4: # %lor.lhs.false32; CHECK-P9-NEXT: cmplwi r4, 033; CHECK-P9-NEXT: bne cr0, .LBB0_234; CHECK-P9-NEXT: .LBB0_5: # %cleanup1635; CHECK-P9-NEXT: mr r3, r536; CHECK-P9-NEXT: blr37; CHECK-P9-NEXT: .LBB0_6: # %lor.lhs.false.138entry:39 br i1 undef, label %land.lhs.true, label %lor.lhs.false40 41land.lhs.true: ; preds = %entry42 br i1 undef, label %cleanup16, label %for.inc43 44lor.lhs.false: ; preds = %entry45 %cmp11 = icmp ne i16 0, 246 %cmp13 = icmp eq i32 0, %color47 %or.cond = and i1 %cmp13, %cmp1148 br i1 %or.cond, label %cleanup16, label %for.inc49 50for.inc: ; preds = %lor.lhs.false, %land.lhs.true51 %arrayidx.i31.1 = getelementptr inbounds %class.A, ptr %this, i64 0, i32 8, i32 0, i64 undef52 %0 = load i16, ptr %arrayidx.i31.1, align 253 %cmp8.1 = icmp ult i16 %0, 254 br i1 %cmp8.1, label %land.lhs.true.1, label %lor.lhs.false.155 56cleanup16: ; preds = %for.inc.2, %lor.lhs.false.2, %lor.lhs.false, %land.lhs.true57 %1 = phi i1 [ true, %land.lhs.true ], [ true, %lor.lhs.false ], [ true, %lor.lhs.false.2 ], [ false, %for.inc.2 ]58 ret i1 %159 60lor.lhs.false.1: ; preds = %for.inc61 unreachable62 63land.lhs.true.1: ; preds = %for.inc64 br label %lor.lhs.false.265 66lor.lhs.false.2: ; preds = %land.lhs.true.167 br i1 false, label %cleanup16, label %for.inc.268 69for.inc.2: ; preds = %lor.lhs.false.270 br label %cleanup1671}72 73