brintos

brintos / llvm-project-archived public Read only

0
0
Text · 942 B · d4a64be Raw
30 lines · plain
1; RUN: llvm-reduce -abort-on-invalid-reduction --delta-passes=basic-blocks --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t2 3; CHECK-INTERESTINGNESS: ret4 5 6 7define void @f(ptr nocapture %arg, ptr %arg1) {8bb:9  br i1 false, label %bb2, label %bb2610 11bb2:                                              ; preds = %bb12  br label %bb413 14bb4:                                              ; preds = %bb215  br label %bb516 17bb5:                                              ; preds = %bb5, %bb418  %i = phi i64 [ 0, %bb4 ], [ %i9, %bb5 ]19  %i6 = getelementptr inbounds i64, ptr %arg, i64 %i20  %i7 = load i64, ptr %i6, align 821  %i8 = getelementptr inbounds i64, ptr %arg1, i64 %i22  store i64 0, ptr %i8, align 823  %i9 = add nuw nsw i64 %i, 124  %i10 = icmp eq i64 %i9, 025  br i1 %i10, label %bb26, label %bb526 27bb26:                                             ; preds = %bb5, %bb28  ret void29}30