[all-commits] [llvm/llvm-project] dacbdd: [RISCV] Move isValidCPUName to RISCVTargetInfo. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Aug 11 10:02:09 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dacbddf56205f90e33d39575fc9d8455458d851e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Basic/Targets/RISCV.h

  Log Message:
  [RISCV] Move isValidCPUName to RISCVTargetInfo. NFC

Instead of having separate implementations for RV32 and RV64,
use the triple to control the Is64Bit parameter.

Do the same for isValidTuneCPUName, fillValidCPUList, and

More information about the All-commits mailing list