[TableGen] Fix typo in CompressInstEmitter. We should use ImmVal field instead of Imm which is from the Kind enum. This caused us to check a value of 1 instead of of the what was parsed.
diff --git a/llvm/utils/TableGen/CompressInstEmitter.cpp b/llvm/utils/TableGen/CompressInstEmitter.cpp index e80adce..331cea1 100644 --- a/llvm/utils/TableGen/CompressInstEmitter.cpp +++ b/llvm/utils/TableGen/CompressInstEmitter.cpp
@@ -827,7 +827,7 @@ DestRec, "MCOperandPredicate"); CondStream.indent(8) << ValidatorName << "(" - << "MCOperand::createImm(" << DestOperandMap[OpNo].Imm + << "MCOperand::createImm(" << DestOperandMap[OpNo].ImmVal << "), STI, " << Entry << ") &&\n"; } else { unsigned Entry =