[RISCV] Remove unused MCOperandPredicate from simm12_lsb00000. NFC

I don't think the use of isBareSymbolRef() was correct since we
don't have any relocations associated with this instruction type.
This commit is contained in:
Craig Topper
2025-03-27 16:07:59 -07:00
parent 2e3c317790
commit 9cd88847b5

View File

@@ -21,12 +21,6 @@ def simm12_lsb00000 : RISCVOp,
let ParserMatchClass = SImmAsmOperand<12, "Lsb00000">;
let EncoderMethod = "getImmOpValue";
let DecoderMethod = "decodeSImmOperand<12>";
let MCOperandPredicate = [{
int64_t Imm;
if (MCOp.evaluateAsConstantImm(Imm))
return isShiftedInt<7, 5>(Imm);
return MCOp.isBareSymbolRef();
}];
let OperandType = "OPERAND_SIMM12_LSB00000";
}