[all-commits] [llvm/llvm-project] b223ae: [X86][NFC] Refine code in X86InstrArithmetic.td

Shengchen Kan via All-commits all-commits at lists.llvm.org
Thu Dec 21 04:51:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b223aebd3ff9fd705d0b9054023ad6b77c933d92
      https://github.com/llvm/llvm-project/commit/b223aebd3ff9fd705d0b9054023ad6b77c933d92
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

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

  Log Message:
  -----------
  [X86][NFC] Refine code in X86InstrArithmetic.td

1. Remove redandunt classes
2. Correct comments
3. Move duplicated `let` statement into class definition
4. Simplify the variable name and align the code




More information about the All-commits mailing list