2 ; RUN: opt %s -disable-output -passes=loop-deletion -ir-dump-directory %t/logs -print-after=loop-deletion
4 ; RUN: ls %t/logs | FileCheck %s
5 ; CHECK: 2-{{[a-z0-9]+}}-loop-{{[a-z0-9]+}}-LoopDeletionPass-invalidated.ll
7 ; RUN: ls %t/logs | count 1
8 ; RUN: cat %t/logs/* | FileCheck %s --check-prefix=CHECK-CONTENTS
10 ; CHECK-CONTENTS: ; *** IR Dump After LoopDeletionPass on bb1 (invalidated) ***
11 ; CHECK-CONTENTS: define void @foo() {
12 ; CHECK-CONTENTS: br label %bb2
13 ; CHECK-CONTENTS: bb2: ; preds = %0
14 ; CHECK-CONTENTS: ret void
21 br i1 false, label %bb1, label %bb2