[AMDGPU] Calculate RegWidth in bits in AsmParser
authorJoe Nash <Joseph.Nash@amd.com>
Tue, 15 Mar 2022 19:18:17 +0000 (15:18 -0400)
committerJoe Nash <Joseph.Nash@amd.com>
Wed, 16 Mar 2022 14:52:14 +0000 (10:52 -0400)
commitfb81f06f63af9f57be66f1ef05fd47397f999f39
treecbb142a1172f520002ef16d87d367e41152808f1
parent7d52beb27572b74213eb4470e3cdb0bacbdd306d
[AMDGPU] Calculate RegWidth in bits in AsmParser

NFC. Switch from calculations based on dwords to bits, to be more
flexible.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D121730
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp