[llvm] [AMDGPU][Disassembler][NFCI] Always defer immediate operands. (PR #138885)

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 08:22:14 PDT 2025


================
@@ -269,15 +269,6 @@ enum OperandType : unsigned {
   OPERAND_KIMM_LAST = OPERAND_KIMM16
 
 };
-
-// Should be in sync with the OperandSemantics defined in SIRegisterInfo.td
-enum OperandSemantics : unsigned {
----------------
kosarev wrote:

We can tell them apart from the operand type, no need for `OperandSemantics`.

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


More information about the llvm-commits mailing list