[llvm] [AMDGPU] Register allocation anti-hints to reduce MFMA hazard NOPs (PR #156943)
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 03:36:31 PDT 2025
================
@@ -29,6 +30,7 @@ class LiveRegMatrix;
class LLVM_LIBRARY_VISIBILITY AllocationOrder {
const SmallVector<MCPhysReg, 16> Hints;
+ SmallVector<MCPhysReg, 16> FilteredOrderStorage;
----------------
rovka wrote:
```suggestion
// Used as storage if the Order received in the constructor needs to be altered.
SmallVector<MCPhysReg, 16> FilteredOrderStorage;
```
https://github.com/llvm/llvm-project/pull/156943
More information about the llvm-commits
mailing list