[all-commits] [llvm/llvm-project] e179b1: [RISCV][NFC] Pass MCSubtargetInfo instead of Featu...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Wed Nov 8 23:15:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e179b125fb019dae54aecbb5687f77c6dd67a17d
      https://github.com/llvm/llvm-project/commit/e179b125fb019dae54aecbb5687f77c6dd67a17d
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.h
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

  Log Message:
  -----------
  [RISCV][NFC] Pass MCSubtargetInfo instead of FeatureBitset in RISCVMatInt (#71770)

The use of `hasFeature` is more descriptive and the callers of
`RISCVMatInt` have no need to call `getFeatureBits()` any more.




More information about the All-commits mailing list