[llvm] [AMDGPU][NFC] Get rid of OPW constants. (PR #139074)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 06:04:57 PDT 2025


================
@@ -1629,102 +1626,130 @@ static int64_t getInlineImmValBF16(unsigned Imm) {
   }
 }
 
-unsigned AMDGPUDisassembler::getVgprClassId(const OpWidthTy Width) const {
+unsigned AMDGPUDisassembler::getVgprClassId(unsigned Width) const {
----------------
jayfoad wrote:

That would be great! There are far too many tables that need updating when you add support for a new register width.

https://github.com/llvm/llvm-project/pull/139074


More information about the llvm-commits mailing list