Commit 7c9fb95
AMDGPU: Fix trying to constrain physical registers in spill handling (llvm#161793)
It's nonsensical to call constrainRegClass on a physical register,
and we should not see virtual registers here.1 parent b37f477 commit 7c9fb95
File tree
2 files changed
+5
-8
lines changed- llvm/lib/Target/AMDGPU
2 files changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
| 310 | + | |
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2222 | 2222 | | |
2223 | 2223 | | |
2224 | 2224 | | |
2225 | | - | |
2226 | | - | |
2227 | 2225 | | |
2228 | 2226 | | |
2229 | 2227 | | |
| |||
2238 | 2236 | | |
2239 | 2237 | | |
2240 | 2238 | | |
2241 | | - | |
| 2239 | + | |
| 2240 | + | |
2242 | 2241 | | |
2243 | 2242 | | |
2244 | 2243 | | |
| |||
3059 | 3058 | | |
3060 | 3059 | | |
3061 | 3060 | | |
3062 | | - | |
3063 | | - | |
| 3061 | + | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
3190 | 3188 | | |
3191 | 3189 | | |
3192 | 3190 | | |
3193 | | - | |
3194 | | - | |
3195 | 3191 | | |
3196 | 3192 | | |
3197 | 3193 | | |
| |||
0 commit comments