[PATCH] D111538: [X86] Prefer VEX encoding in X86 assembler.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 08:26:07 PDT 2021


pengfei added a comment.

How about we add a `EncodingCost` to the base class `Instruction` and set a high cost for EVEX? Or we can reuse the `Size` in it, since all X86 instructions set it to 0. We can use it as the encoding cost.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111538



More information about the llvm-commits mailing list