brintos

brintos / llvm-project-archived public Read only

0
0
Text · 930 B · 11b4373 Raw
26 lines · plain
1; RUN: llc < %s -mtriple thumbv7 | FileCheck %s2 3define hidden void @foo(ptr %ptr, i1 zeroext %long_blocks) {4entry:5; This test is actually checking that no cycle is introduced but at least we6; want to see one umull.7; CHECK: umull8  %0 = load i32, ptr %ptr, align 49  %conv.i.i13.i = zext i32 %0 to i6410  %mul.i.i14.i = mul nuw nsw i64 %conv.i.i13.i, 1878211  %1 = load i32, ptr undef, align 412  %conv4.i.i16.i = zext i32 %1 to i6413  %add5.i.i17.i = add nuw nsw i64 %mul.i.i14.i, %conv4.i.i16.i14  %shr.i.i18.i = lshr i64 %add5.i.i17.i, 3215  %add10.i.i20.i = add nuw nsw i64 %shr.i.i18.i, %add5.i.i17.i16  %conv11.i.i21.i = trunc i64 %add10.i.i20.i to i3217  %x.0.neg.i.i26.i = sub i32 -2, %conv11.i.i21.i18  %sub.i.i27.i = add i32 %x.0.neg.i.i26.i, 019  store i32 %sub.i.i27.i, ptr %ptr, align 420  br label %while.body.i21 22while.body.i:                                     ; preds = %while.body.i, %entry23  br label %while.body.i24}25 26