[llvm] AMDGPU/GlobalISel: Uniformity info based regbankselect (PR #73684)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 22:55:20 PST 2024
================
@@ -68,7 +71,26 @@ bool AMDGPURegBankSelect::runOnMachineFunction(MachineFunction &MF) {
MachineUniformityInfo Uniformity =
computeMachineUniformityInfo(MF, CycleInfo, DomTree.getBase(),
!ST.isSingleLaneExecution(F));
- (void)Uniformity; // TODO: Use this
+
+ // Switch for uniformity info based regbank selection. Pre-selects register
+ // bank on dst registers using machine uniformity analysis.
+ // Keep in sinc with switches in getInstrMapping and applyMappingImpl.
----------------
arsenm wrote:
```suggestion
// Keep in sync with switches in getInstrMapping and applyMappingImpl.
```
https://github.com/llvm/llvm-project/pull/73684
More information about the llvm-commits
mailing list