@@ -21,21 +21,33 @@ machineFunctionInfo:
21
21
body : |
22
22
bb.0:
23
23
; MUBUFW64-LABEL: name: s_add_u32__inline_imm__fi_offset0
24
- ; MUBUFW64: renamable $sgpr4 = S_LSHR_B32 $sgpr32, 6, implicit-def dead $scc
24
+ ; MUBUFW64: frame-setup CFI_INSTRUCTION llvm_def_aspace_cfa $sgpr32, 0, 6
25
+ ; MUBUFW64-NEXT: frame-setup CFI_INSTRUCTION llvm_register_pair $pc_reg, $sgpr30, 32, $sgpr31, 32
26
+ ; MUBUFW64-NEXT: frame-setup CFI_INSTRUCTION undefined $sgpr7
27
+ ; MUBUFW64-NEXT: renamable $sgpr4 = S_LSHR_B32 $sgpr32, 6, implicit-def dead $scc
25
28
; MUBUFW64-NEXT: renamable $sgpr7 = S_ADD_U32 12, $sgpr4, implicit-def dead $scc
26
29
; MUBUFW64-NEXT: SI_RETURN implicit $sgpr7
27
30
;
28
31
; MUBUFW32-LABEL: name: s_add_u32__inline_imm__fi_offset0
29
- ; MUBUFW32: renamable $sgpr4 = S_LSHR_B32 $sgpr32, 5, implicit-def dead $scc
32
+ ; MUBUFW32: frame-setup CFI_INSTRUCTION llvm_def_aspace_cfa $sgpr32, 0, 6
33
+ ; MUBUFW32-NEXT: frame-setup CFI_INSTRUCTION llvm_register_pair $pc_reg, $sgpr30, 32, $sgpr31, 32
34
+ ; MUBUFW32-NEXT: frame-setup CFI_INSTRUCTION undefined $sgpr7
35
+ ; MUBUFW32-NEXT: renamable $sgpr4 = S_LSHR_B32 $sgpr32, 5, implicit-def dead $scc
30
36
; MUBUFW32-NEXT: renamable $sgpr7 = S_ADD_U32 12, $sgpr4, implicit-def dead $scc
31
37
; MUBUFW32-NEXT: SI_RETURN implicit $sgpr7
32
38
;
33
39
; FLATSCRW64-LABEL: name: s_add_u32__inline_imm__fi_offset0
34
- ; FLATSCRW64: renamable $sgpr7 = S_ADD_U32 12, $sgpr32, implicit-def dead $scc
40
+ ; FLATSCRW64: frame-setup CFI_INSTRUCTION escape 0x0f, 0x09, 0x90, 0x40, 0x94, 0x04, 0x36, 0x24, 0x36, 0xe9, 0x02
41
+ ; FLATSCRW64-NEXT: frame-setup CFI_INSTRUCTION llvm_register_pair $pc_reg, $sgpr30, 32, $sgpr31, 32
42
+ ; FLATSCRW64-NEXT: frame-setup CFI_INSTRUCTION undefined $sgpr7
43
+ ; FLATSCRW64-NEXT: renamable $sgpr7 = S_ADD_U32 12, $sgpr32, implicit-def dead $scc
35
44
; FLATSCRW64-NEXT: SI_RETURN implicit $sgpr7
36
45
;
37
46
; FLATSCRW32-LABEL: name: s_add_u32__inline_imm__fi_offset0
38
- ; FLATSCRW32: renamable $sgpr7 = S_ADD_U32 12, $sgpr32, implicit-def dead $scc
47
+ ; FLATSCRW32: frame-setup CFI_INSTRUCTION escape 0x0f, 0x09, 0x90, 0x40, 0x94, 0x04, 0x35, 0x24, 0x36, 0xe9, 0x02
48
+ ; FLATSCRW32-NEXT: frame-setup CFI_INSTRUCTION llvm_register_pair $pc_reg, $sgpr30, 32, $sgpr31, 32
49
+ ; FLATSCRW32-NEXT: frame-setup CFI_INSTRUCTION undefined $sgpr7
50
+ ; FLATSCRW32-NEXT: renamable $sgpr7 = S_ADD_U32 12, $sgpr32, implicit-def dead $scc
39
51
; FLATSCRW32-NEXT: SI_RETURN implicit $sgpr7
40
52
renamable $sgpr7 = S_ADD_U32 12, %stack.0, implicit-def dead $scc
41
53
SI_RETURN implicit $sgpr7
@@ -58,6 +70,8 @@ body: |
58
70
; MUBUFW64-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal
59
71
; MUBUFW64: liveins: $sgpr0_sgpr1_sgpr2_sgpr3
60
72
; MUBUFW64-NEXT: {{ $}}
73
+ ; MUBUFW64-NEXT: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
74
+ ; MUBUFW64-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
61
75
; MUBUFW64-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
62
76
; MUBUFW64-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
63
77
; MUBUFW64-NEXT: renamable $sgpr7 = S_MOV_B32 164
@@ -66,17 +80,23 @@ body: |
66
80
; MUBUFW32-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal
67
81
; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3
68
82
; MUBUFW32-NEXT: {{ $}}
83
+ ; MUBUFW32-NEXT: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
84
+ ; MUBUFW32-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
69
85
; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
70
86
; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
71
87
; MUBUFW32-NEXT: renamable $sgpr7 = S_MOV_B32 164
72
88
; MUBUFW32-NEXT: SI_RETURN implicit $sgpr7
73
89
;
74
90
; FLATSCRW64-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal
75
- ; FLATSCRW64: renamable $sgpr7 = S_MOV_B32 164
91
+ ; FLATSCRW64: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
92
+ ; FLATSCRW64-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
93
+ ; FLATSCRW64-NEXT: renamable $sgpr7 = S_MOV_B32 164
76
94
; FLATSCRW64-NEXT: SI_RETURN implicit $sgpr7
77
95
;
78
96
; FLATSCRW32-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal
79
- ; FLATSCRW32: renamable $sgpr7 = S_MOV_B32 164
97
+ ; FLATSCRW32: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
98
+ ; FLATSCRW32-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
99
+ ; FLATSCRW32-NEXT: renamable $sgpr7 = S_MOV_B32 164
80
100
; FLATSCRW32-NEXT: SI_RETURN implicit $sgpr7
81
101
renamable $sgpr7 = S_ADD_U32 68, %stack.1, implicit-def dead $scc
82
102
SI_RETURN implicit $sgpr7
@@ -98,6 +118,8 @@ body: |
98
118
; MUBUFW64-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal_live_scc
99
119
; MUBUFW64: liveins: $sgpr0_sgpr1_sgpr2_sgpr3
100
120
; MUBUFW64-NEXT: {{ $}}
121
+ ; MUBUFW64-NEXT: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
122
+ ; MUBUFW64-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
101
123
; MUBUFW64-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
102
124
; MUBUFW64-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
103
125
; MUBUFW64-NEXT: renamable $sgpr7 = S_ADD_U32 164, 0, implicit-def $scc
@@ -106,17 +128,23 @@ body: |
106
128
; MUBUFW32-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal_live_scc
107
129
; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3
108
130
; MUBUFW32-NEXT: {{ $}}
131
+ ; MUBUFW32-NEXT: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
132
+ ; MUBUFW32-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
109
133
; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
110
134
; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3
111
135
; MUBUFW32-NEXT: renamable $sgpr7 = S_ADD_U32 164, 0, implicit-def $scc
112
136
; MUBUFW32-NEXT: SI_RETURN implicit $sgpr7, implicit $scc
113
137
;
114
138
; FLATSCRW64-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal_live_scc
115
- ; FLATSCRW64: renamable $sgpr7 = S_ADD_U32 164, 0, implicit-def $scc
139
+ ; FLATSCRW64: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
140
+ ; FLATSCRW64-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
141
+ ; FLATSCRW64-NEXT: renamable $sgpr7 = S_ADD_U32 164, 0, implicit-def $scc
116
142
; FLATSCRW64-NEXT: SI_RETURN implicit $sgpr7, implicit $scc
117
143
;
118
144
; FLATSCRW32-LABEL: name: s_add_u32__kernel__literal__fi_offset96__offset_literal_live_scc
119
- ; FLATSCRW32: renamable $sgpr7 = S_ADD_U32 164, 0, implicit-def $scc
145
+ ; FLATSCRW32: frame-setup CFI_INSTRUCTION escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02
146
+ ; FLATSCRW32-NEXT: frame-setup CFI_INSTRUCTION undefined $pc_reg
147
+ ; FLATSCRW32-NEXT: renamable $sgpr7 = S_ADD_U32 164, 0, implicit-def $scc
120
148
; FLATSCRW32-NEXT: SI_RETURN implicit $sgpr7, implicit $scc
121
149
renamable $sgpr7 = S_ADD_U32 68, %stack.1, implicit-def $scc
122
150
SI_RETURN implicit $sgpr7, implicit $scc
0 commit comments