[all-commits] [llvm/llvm-project] 8d657c: [X86][AsmParser] Refactor code in AsmParser

KanRobert via All-commits all-commits at lists.llvm.org
Sun May 7 22:27:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d657c461a5aa43e882071b3b5e0496961aa44a1
      https://github.com/llvm/llvm-project/commit/8d657c461a5aa43e882071b3b5e0496961aa44a1
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
    A llvm/lib/Target/X86/MCTargetDesc/X86EncodingOptimization.cpp
    A llvm/lib/Target/X86/MCTargetDesc/X86EncodingOptimization.h
    M llvm/lib/Target/X86/X86InstrAsmAlias.td
    M llvm/lib/Target/X86/X86MCInstLower.cpp

  Log Message:
  -----------
  [X86][AsmParser] Refactor code in AsmParser

1. Share code `optimizeInstFromVEX3ToVEX2` with MCInstLower
2. Move the code of optimization for shift/rotate to a separate file

Reviewed By: craig.topper

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




More information about the All-commits mailing list