[all-commits] [llvm/llvm-project] 4b60e1: [RISCV] Add function that check extension name wit...

Piyou Chen via All-commits all-commits at lists.llvm.org
Sun Aug 20 21:07:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b60e1e821b4515466c95082839aecc5c36f19e2
      https://github.com/llvm/llvm-project/commit/4b60e1e821b4515466c95082839aecc5c36f19e2
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2023-08-20 (Sun, 20 Aug 2023)

  Changed paths:
    M llvm/include/llvm/Support/RISCVISAInfo.h
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/unittests/Support/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Add function that check extension name with version

Check whether a extension string with version is valid, and get the targetfeature from it.

New functions be used in RISCVISAInfo for https://reviews.llvm.org/D151730.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D152423




More information about the All-commits mailing list