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