1; RUN: llc -mtriple=x86_64-- -debug-pass=Structure -stop-after=dead-mi-elimination,1 %s -o /dev/null 2>&1 \
2; RUN:   | FileCheck -check-prefix=STOP-AFTER-DEAD1 %s
3
4; RUN: llc -mtriple=x86_64-- -debug-pass=Structure -stop-after=dead-mi-elimination,0 %s -o /dev/null 2>&1 \
5; RUN:   | FileCheck -check-prefix=STOP-AFTER-DEAD0 %s
6
7
8; RUN: llc -mtriple=x86_64-- -debug-pass=Structure -stop-before=dead-mi-elimination,1 %s -o /dev/null 2>&1 \
9; RUN:   | FileCheck -check-prefix=STOP-BEFORE-DEAD1 %s
10
11
12; RUN: llc -mtriple=x86_64-- -debug-pass=Structure -start-before=dead-mi-elimination,1 %s -o /dev/null 2>&1 \
13; RUN:   | FileCheck -check-prefix=START-BEFORE-DEAD1 %s
14
15; RUN: llc -mtriple=x86_64-- -debug-pass=Structure -start-after=dead-mi-elimination,1 %s -o /dev/null 2>&1 \
16; RUN:   | FileCheck -check-prefix=START-AFTER-DEAD1 %s
17
18
19
20; STOP-AFTER-DEAD1: -dead-mi-elimination
21; STOP-AFTER-DEAD1-SAME: -dead-mi-elimination
22
23; STOP-AFTER-DEAD1: Remove dead machine instructions
24; STOP-AFTER-DEAD1: Remove dead machine instructions
25
26
27
28; STOP-AFTER-DEAD0:     -dead-mi-elimination
29
30; STOP-AFTER-DEAD0-NOT: Remove dead machine instructions
31; STOP-AFTER-DEAD0: Remove dead machine instructions
32; STOP-AFTER-DEAD0-NOT: Remove dead machine instructions
33
34
35
36; STOP-BEFORE-DEAD1:     -dead-mi-elimination
37; STOP-BEFORE-DEAD1: Remove dead machine instructions
38; STOP-BEFORE-DEAD1-NOT: Remove dead machine instructions
39
40
41
42; START-BEFORE-DEAD1:     -dead-mi-elimination
43; START-BEFORE-DEAD1-NOT: Remove dead machine instructions
44; START-BEFORE-DEAD1: Remove dead machine instructions
45; START-BEFORE-DEAD1-NOT: Remove dead machine instructions
46
47
48
49; START-AFTER-DEAD1-NOT: -dead-mi-elimination
50; START-AFTER-DEAD1-NOT: Remove dead machine instructions
51