[llvm] [AMDGPU] Remove s_delay_alu for VALU->SGPR->SALU (PR #127212)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 10 08:00:52 PDT 2025
================
@@ -331,6 +331,11 @@ class AMDGPUInsertDelayAlu {
bool Changed = false;
MachineInstr *LastDelayAlu = nullptr;
+ bool VALUSALUStall = false;
+ MCRegUnit lastSgprWrite = 0;
+ MCRegUnit longestWait = 0;
+ unsigned deletedCyclesNum = 0;
----------------
jayfoad wrote:
In LLVM style variable names start with an upper case letter:
```suggestion
MCRegUnit LastSgprWrite = 0;
MCRegUnit LongestWait = 0;
unsigned DeletedCyclesNum = 0;
```
https://github.com/llvm/llvm-project/pull/127212
More information about the llvm-commits
mailing list