Try to use AGPR banks for the various merge/unmerge type
operations. Previously these would introduce copies to VGPR.
Details
- Reviewers
kerbowa rampitec madhur13490
Diff Detail
Event Timeline
| llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | ||
|---|---|---|
| 3144 | Really it should be an enum, but TableGen emits these as an anonymous enum right now | |
| llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | ||
|---|---|---|
| 3144 | Sure, but the type should be same either unsigned or int but not such discrepancy. This is bug prone. If tablegen's enum is unsigned then let this function return unsigned, | |
| llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | ||
|---|---|---|
| 3144 | The enum is signed | |
Fix comment.