Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / llvm / test / CodeGen / MIR / Generic / machine-function-optionally-computed-properties.mir
blob8ac6b2e6ecafdd53f6e4b449f281b4a420090d37
1 # RUN: llc -run-pass none -o - %s | FileCheck %s
3 # Test that we can disable certain properties that are normally computed
5 ---
6 # CHECK-LABEL: name: TestNoPhis
7 # CHECK: noPhis: true
8 # CHECK: ...
9 name:            TestNoPhis
10 ...
11 ---
12 # CHECK-LABEL: name: TestNoPhisOverride
13 # CHECK: noPhis: false
14 # CHECK: ...
15 name:            TestNoPhisOverride
16 noPhis: false
17 ...
18 ---
19 # CHECK-LABEL: name: TestNoPhisOverrideTrue
20 # CHECK: noPhis: true
21 # CHECK: ...
22 name:            TestNoPhisOverrideTrue
23 noPhis: true
24 ...
25 ---
26 # CHECK-LABEL: name: TestIsSSA
27 # CHECK: isSSA: true
28 # CHECK: ...
29 name:            TestIsSSA
30 ...
31 ---
32 # CHECK-LABEL: name: TestIsSSAOverride
33 # CHECK: isSSA: false
34 # CHECK: ...
35 name:            TestIsSSAOverride
36 isSSA: false
37 ...
38 ---
39 # CHECK-LABEL: name: TestIsSSAOverrideTrue
40 # CHECK: isSSA: true
41 # CHECK: ...
42 name:            TestIsSSAOverrideTrue
43 isSSA: true
44 ...
45 ---
46 # CHECK-LABEL: name: TestNoVRegs
47 # CHECK: noVRegs: true
48 # CHECK: ...
49 name:            TestNoVRegs
50 ...
51 ---
52 # CHECK-LABEL: name: TestNoVRegsOverride
53 # CHECK: noVRegs: false
54 # CHECK: ...
55 name:            TestNoVRegsOverride
56 noVRegs: false
57 ...
58 ---
59 # CHECK-LABEL: name: TestNoVRegsOverrideTrue
60 # CHECK: noVRegs: true
61 # CHECK: ...
62 name:            TestNoVRegsOverrideTrue
63 noVRegs: true
64 ...
65 ---
66 # CHECK-LABEL: name: TestHasFakeUses
67 # CHECK: hasFakeUses: false
68 # CHECK: ...
69 name:            TestHasFakeUses
70 ...
71 ---
72 # CHECK-LABEL: name: TestHasFakeUsesOverride
73 # CHECK: hasFakeUses: false
74 # CHECK: ...
75 name:            TestHasFakeUsesOverride
76 hasFakeUses: false
77 ...
78 ---
79 # CHECK-LABEL: name: TestHasFakeUsesOverrideTrue
80 # CHECK: hasFakeUses: true
81 # CHECK: ...
82 name:            TestHasFakeUsesOverrideTrue
83 hasFakeUses: true
84 ...