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 %t 2 3; CHECK-INTERESTINGNESS: ret 4 5 6 7define void @f(ptr nocapture %arg, ptr %arg1) { 8bb: 9 br i1 false, label %bb2, label %bb26 10 11bb2: ; preds = %bb 12 br label %bb4 13 14bb4: ; preds = %bb2 15 br label %bb5 16 17bb5: ; preds = %bb5, %bb4 18 %i = phi i64 [ 0, %bb4 ], [ %i9, %bb5 ] 19 %i6 = getelementptr inbounds i64, ptr %arg, i64 %i 20 %i7 = load i64, ptr %i6, align 8 21 %i8 = getelementptr inbounds i64, ptr %arg1, i64 %i 22 store i64 0, ptr %i8, align 8 23 %i9 = add nuw nsw i64 %i, 1 24 %i10 = icmp eq i64 %i9, 0 25 br i1 %i10, label %bb26, label %bb5 26 27bb26: ; preds = %bb5, %bb 28 ret void 29} 30