[llvm-branch-commits] [llvm] AMDGPU: Move spill pseudo special case out of adjustAllocatableRegClass (PR #158246)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Sep 12 02:01:23 PDT 2025
================
@@ -5976,8 +5976,7 @@ SIInstrInfo::getWholeWaveFunctionSetup(MachineFunction &MF) const {
static const TargetRegisterClass *
adjustAllocatableRegClass(const GCNSubtarget &ST, const SIRegisterInfo &RI,
const MCInstrDesc &TID, unsigned RCID) {
- if (!ST.hasGFX90AInsts() && (((TID.mayLoad() || TID.mayStore()) &&
- !(TID.TSFlags & SIInstrFlags::Spill)))) {
+ if (!ST.hasGFX90AInsts() && (((TID.mayLoad() || TID.mayStore())))) {
----------------
arsenm wrote:
```suggestion
if (!ST.hasGFX90AInsts() && (TID.mayLoad() || TID.mayStore())) {
```
https://github.com/llvm/llvm-project/pull/158246
More information about the llvm-branch-commits
mailing list