@@ -1956,7 +1956,6 @@ static const fltSemantics *getOpFltSemantics(uint8_t OperandType) {
19561956 case AMDGPU::OPERAND_REG_INLINE_C_INT16:
19571957 case AMDGPU::OPERAND_REG_IMM_INT32:
19581958 case AMDGPU::OPERAND_REG_IMM_FP32:
1959- case AMDGPU::OPERAND_REG_IMM_FP32_DEFERRED:
19601959 case AMDGPU::OPERAND_REG_INLINE_C_INT32:
19611960 case AMDGPU::OPERAND_REG_INLINE_C_FP32:
19621961 case AMDGPU::OPERAND_REG_INLINE_AC_INT32:
@@ -1975,14 +1974,12 @@ static const fltSemantics *getOpFltSemantics(uint8_t OperandType) {
19751974 case AMDGPU::OPERAND_REG_INLINE_AC_FP64:
19761975 return &APFloat::IEEEdouble ();
19771976 case AMDGPU::OPERAND_REG_IMM_FP16:
1978- case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED:
19791977 case AMDGPU::OPERAND_REG_INLINE_C_FP16:
19801978 case AMDGPU::OPERAND_REG_INLINE_C_V2FP16:
19811979 case AMDGPU::OPERAND_REG_IMM_V2FP16:
19821980 case AMDGPU::OPERAND_KIMM16:
19831981 return &APFloat::IEEEhalf ();
19841982 case AMDGPU::OPERAND_REG_IMM_BF16:
1985- case AMDGPU::OPERAND_REG_IMM_BF16_DEFERRED:
19861983 case AMDGPU::OPERAND_REG_INLINE_C_BF16:
19871984 case AMDGPU::OPERAND_REG_INLINE_C_V2BF16:
19881985 case AMDGPU::OPERAND_REG_IMM_V2BF16:
@@ -2304,7 +2301,6 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo
23042301 llvm_unreachable (" fp literal in 64-bit integer instruction." );
23052302
23062303 case AMDGPU::OPERAND_REG_IMM_BF16:
2307- case AMDGPU::OPERAND_REG_IMM_BF16_DEFERRED:
23082304 case AMDGPU::OPERAND_REG_INLINE_C_BF16:
23092305 case AMDGPU::OPERAND_REG_INLINE_C_V2BF16:
23102306 case AMDGPU::OPERAND_REG_IMM_V2BF16:
@@ -2321,14 +2317,12 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo
23212317
23222318 case AMDGPU::OPERAND_REG_IMM_INT32:
23232319 case AMDGPU::OPERAND_REG_IMM_FP32:
2324- case AMDGPU::OPERAND_REG_IMM_FP32_DEFERRED:
23252320 case AMDGPU::OPERAND_REG_INLINE_C_INT32:
23262321 case AMDGPU::OPERAND_REG_INLINE_C_FP32:
23272322 case AMDGPU::OPERAND_REG_INLINE_AC_INT32:
23282323 case AMDGPU::OPERAND_REG_INLINE_AC_FP32:
23292324 case AMDGPU::OPERAND_REG_IMM_INT16:
23302325 case AMDGPU::OPERAND_REG_IMM_FP16:
2331- case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED:
23322326 case AMDGPU::OPERAND_REG_INLINE_C_INT16:
23332327 case AMDGPU::OPERAND_REG_INLINE_C_FP16:
23342328 case AMDGPU::OPERAND_REG_INLINE_C_V2INT16:
@@ -2369,7 +2363,6 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo
23692363 switch (OpTy) {
23702364 case AMDGPU::OPERAND_REG_IMM_INT32:
23712365 case AMDGPU::OPERAND_REG_IMM_FP32:
2372- case AMDGPU::OPERAND_REG_IMM_FP32_DEFERRED:
23732366 case AMDGPU::OPERAND_REG_INLINE_C_INT32:
23742367 case AMDGPU::OPERAND_REG_INLINE_C_FP32:
23752368 case AMDGPU::OPERAND_REG_INLINE_AC_INT32:
@@ -2425,7 +2418,6 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo
24252418
24262419 case AMDGPU::OPERAND_REG_INLINE_C_FP16:
24272420 case AMDGPU::OPERAND_REG_IMM_FP16:
2428- case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED:
24292421 if (isSafeTruncation (Val, 16 ) &&
24302422 AMDGPU::isInlinableLiteralFP16 (static_cast <int16_t >(Val),
24312423 AsmParser->hasInv2PiInlineImm ())) {
@@ -2439,7 +2431,6 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo
24392431 return ;
24402432
24412433 case AMDGPU::OPERAND_REG_IMM_BF16:
2442- case AMDGPU::OPERAND_REG_IMM_BF16_DEFERRED:
24432434 case AMDGPU::OPERAND_REG_INLINE_C_BF16:
24442435 if (isSafeTruncation (Val, 16 ) &&
24452436 AMDGPU::isInlinableLiteralBF16 (static_cast <int16_t >(Val),
@@ -3615,13 +3606,11 @@ bool AMDGPUAsmParser::isInlineConstant(const MCInst &Inst,
36153606 return AMDGPU::isInlinableLiteralV2BF16 (Val);
36163607
36173608 if (OperandType == AMDGPU::OPERAND_REG_IMM_FP16 ||
3618- OperandType == AMDGPU::OPERAND_REG_INLINE_C_FP16 ||
3619- OperandType == AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED)
3609+ OperandType == AMDGPU::OPERAND_REG_INLINE_C_FP16)
36203610 return AMDGPU::isInlinableLiteralFP16 (Val, hasInv2PiInlineImm ());
36213611
36223612 if (OperandType == AMDGPU::OPERAND_REG_IMM_BF16 ||
3623- OperandType == AMDGPU::OPERAND_REG_INLINE_C_BF16 ||
3624- OperandType == AMDGPU::OPERAND_REG_IMM_BF16_DEFERRED)
3613+ OperandType == AMDGPU::OPERAND_REG_INLINE_C_BF16)
36253614 return AMDGPU::isInlinableLiteralBF16 (Val, hasInv2PiInlineImm ());
36263615
36273616 llvm_unreachable (" invalid operand type" );
@@ -3671,15 +3660,14 @@ static OperandIndices getSrcOperandIndices(unsigned Opcode,
36713660 AddMandatoryLiterals ? getNamedOperandIdx (Opcode, OpName::imm) : -1 ;
36723661
36733662 if (isVOPD (Opcode)) {
3674- int16_t ImmDeferredIdx =
3675- AddMandatoryLiterals ? getNamedOperandIdx (Opcode, OpName::immDeferred)
3676- : -1 ;
3663+ int16_t ImmXIdx =
3664+ AddMandatoryLiterals ? getNamedOperandIdx (Opcode, OpName::immX) : -1 ;
36773665
36783666 return {getNamedOperandIdx (Opcode, OpName::src0X),
36793667 getNamedOperandIdx (Opcode, OpName::vsrc1X),
36803668 getNamedOperandIdx (Opcode, OpName::src0Y),
36813669 getNamedOperandIdx (Opcode, OpName::vsrc1Y),
3682- ImmDeferredIdx ,
3670+ ImmXIdx ,
36833671 ImmIdx};
36843672 }
36853673
0 commit comments