annotate test/CodeGen/Generic/llc-start-stop.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
1 ; Note: -verify-machineinstrs is used in order to make this test compatible with EXPENSIVE_CHECKS.
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
2 ; RUN: llc < %s -debug-pass=Structure -stop-after=loop-reduce -verify-machineinstrs -o /dev/null 2>&1 \
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
3 ; RUN: | FileCheck %s -check-prefix=STOP-AFTER
120
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
4 ; STOP-AFTER: -loop-reduce
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
5 ; STOP-AFTER: Dominator Tree Construction
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
6 ; STOP-AFTER: Loop Strength Reduction
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
7 ; STOP-AFTER-NEXT: Verify generated machine code
120
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
8 ; STOP-AFTER-NEXT: MIR Printing Pass
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
9
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
10 ; RUN: llc < %s -debug-pass=Structure -stop-before=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
11 ; STOP-BEFORE-NOT: -loop-reduce
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
12 ; STOP-BEFORE: Dominator Tree Construction
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
13 ; STOP-BEFORE-NOT: Loop Strength Reduction
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
14
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
15 ; RUN: llc < %s -debug-pass=Structure -start-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=START-AFTER
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
16 ; START-AFTER: -machine-branch-prob -gc-lowering
120
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
17 ; START-AFTER: FunctionPass Manager
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
18 ; START-AFTER-NEXT: Lower Garbage Collection Instructions
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
19
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
20 ; RUN: llc < %s -debug-pass=Structure -start-before=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=START-BEFORE
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
21 ; START-BEFORE: -machine-branch-prob -domtree
120
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
22 ; START-BEFORE: FunctionPass Manager
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
23 ; START-BEFORE: Loop Strength Reduction
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
24 ; START-BEFORE-NEXT: Lower Garbage Collection Instructions
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
25
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
26 ; RUN: not llc < %s -start-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-START-BEFORE
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
27 ; RUN: not llc < %s -stop-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-BEFORE
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
28 ; RUN: not llc < %s -start-after=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-START-AFTER
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
29 ; RUN: not llc < %s -stop-after=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-AFTER
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
30 ; NONEXISTENT-START-BEFORE: "nonexistent" pass is not registered.
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
31 ; NONEXISTENT-STOP-BEFORE: "nonexistent" pass is not registered.
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
32 ; NONEXISTENT-START-AFTER: "nonexistent" pass is not registered.
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
33 ; NONEXISTENT-STOP-AFTER: "nonexistent" pass is not registered.
120
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
34
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
35 ; RUN: not llc < %s -start-before=loop-reduce -start-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=DOUBLE-START
1172e4bd9c6f update 4.0.0
mir3636
parents:
diff changeset
36 ; RUN: not llc < %s -stop-before=loop-reduce -stop-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=DOUBLE-STOP
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
37 ; DOUBLE-START: start-before and start-after specified!
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
38 ; DOUBLE-STOP: stop-before and stop-after specified!