[all-commits] [llvm/llvm-project] 942536: [X86] Prefer VEX encoding in X86 assembler.

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Mon Oct 18 01:57:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 942536ac084c2e12271140831be0c97da39cde2e
      https://github.com/llvm/llvm-project/commit/942536ac084c2e12271140831be0c97da39cde2e
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M llvm/include/llvm/Target/Target.td
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/lib/Target/X86/X86InstrFormats.td
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp

  Log Message:
  -----------
  [X86] Prefer VEX encoding in X86 assembler.

This patch is to order the AVX instructions ahead of AVX512 instructions
in the matching table so that the AVX instructions can be matched first.
Thanks Craig and Shengchen for the idea.

Differential Revision: https://reviews.llvm.org/D111538




More information about the All-commits mailing list