[all-commits] [llvm/llvm-project] 749318: [X86][NFC] Refactor X86InstrArithmetic.td by class

XinWang10 via All-commits all-commits at lists.llvm.org
Tue Feb 21 17:20:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 749318dbfb741d3778135e02260b2550db251e98
      https://github.com/llvm/llvm-project/commit/749318dbfb741d3778135e02260b2550db251e98
  Author: Wang, Xin10 <xin10.wang at intel.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrArithmetic.td
    M llvm/lib/Target/X86/X86InstrInfo.td

  Log Message:
  -----------
  [X86][NFC] Refactor X86InstrArithmetic.td by class

1. Extract the common code of some instructions into a class to reduce duplication
2. Refine some comments to the make the description of the class clearer

By this way, the records defined here will be consistent and easier to
maintain, I think.

Reviewed By: skan

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




More information about the All-commits mailing list