[all-commits] [llvm/llvm-project] 8e8a62: [RISCV][NFC] Minor cleanup in RISCVInstrInfo::getO...

Kito Cheng via All-commits all-commits at lists.llvm.org
Wed Aug 24 08:44:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e8a62006ecae016cfc345c2ec97fb3574b76d61
      https://github.com/llvm/llvm-project/commit/8e8a62006ecae016cfc345c2ec97fb3574b76d61
  Author: Kito Cheng <kito.cheng at sifive.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

  Log Message:
  -----------
  [RISCV][NFC] Minor cleanup in RISCVInstrInfo::getOutliningType

The only use of TM is checking result of TargetMachine::getFunctionSections,
check that directly instead of introdce a local variable.




More information about the All-commits mailing list