[PATCH] D138639: [X86] Add In64BitMode for MOVSX64/MOVZX64 instructions

Haohai, Wen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 20:34:36 PST 2022


HaohaiWen added a comment.

> Is it not possible to use the encoding information in TSFlags rather than going through the assembly parser? Your patches for schedtool seem very coupled to the names of operand classes and other things. It looks like it will require updates often.

The asm enumeration code and asm matcher patch as well as xed patch are used to build map between llvm opcode <-> Xed info <-> uops.info data / other scheduling info data source. Do you have any suggestion to build this map?
IsaSet in Xed info can also be used to identify whether a llvm opcode is supported by specific target. LLVM predicates can't determine that precisely.

Apart from that, I think we'd better fix wrong predicates.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138639/new/

https://reviews.llvm.org/D138639



More information about the llvm-commits mailing list