[all-commits] [llvm/llvm-project] 3fdb43: [RISCV] Use TableGen-based macro fusion (#72224)

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Thu Jan 25 01:11:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fdb431b636975f2062b1931158aa4dfce6a3ff1
      https://github.com/llvm/llvm-project/commit/3fdb431b636975f2062b1931158aa4dfce6a3ff1
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/CMakeLists.txt
    M llvm/lib/Target/RISCV/RISCV.td
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    R llvm/lib/Target/RISCV/RISCVMacroFusion.cpp
    R llvm/lib/Target/RISCV/RISCVMacroFusion.h
    A llvm/lib/Target/RISCV/RISCVMacroFusion.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp

  Log Message:
  -----------
  [RISCV] Use TableGen-based macro fusion (#72224)

We convert existed macro fusions to TableGen.
    
Bacause `Fusion` depend on `Instruction` definitions which is defined
below `RISCVFeatures.td`, so we recommend user to add fusion features
when defining new processor.




More information about the All-commits mailing list