[all-commits] [llvm/llvm-project] cb75fa: [X86][BOLT] Use getOperandType to determine memory...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu Jun 30 00:25:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb75faf40cb1140ba29ad684b084fbf398443deb
      https://github.com/llvm/llvm-project/commit/cb75faf40cb1140ba29ad684b084fbf398443deb
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    M llvm/lib/Target/X86/CMakeLists.txt

  Log Message:
  -----------
  [X86][BOLT] Use getOperandType to determine memory access size

Generate INSTRINFO_OPERAND_TYPE table in X86GenInstrInfo.inc.

This diff adds support for instructions that were previously reported as having
memory access size 0. It replaces the heuristic of looking at instruction
register width to determine memory access width by instead checking the memory
operand type using tablegen-provided tables.

Reviewed By: skan

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




More information about the All-commits mailing list