[llvm] [X86][MC] Support Enc/Dec for EGPR for promoted MOVDIR instruction (PR #74713)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 16:37:34 PST 2023
================
@@ -878,7 +880,10 @@ void DisassemblerTables::emitContextTable(raw_ostream &o, unsigned &i) const {
for (unsigned index = 0; index < ATTR_max; ++index) {
o.indent(i * 2);
- if ((index & ATTR_EVEX) || (index & ATTR_VEX) || (index & ATTR_VEXL)) {
+ if ((index & ATTR_EVEX) && (index & ATTR_64BIT) && (index & ATTR_OPSIZE) &&
+ (index & ATTR_ADSIZE))
+ o << "IC_EVEX_OPSIZE_ADSIZE";
----------------
KanRobert wrote:
This would cause `IC_EVEX_OPSIZE_ADSIZE` to be print `ATTR_max` times, which sounds incorrect.
https://github.com/llvm/llvm-project/pull/74713
More information about the llvm-commits
mailing list