[all-commits] [llvm/llvm-project] 91b305: [RISCV] Remove ExtName from RISCVExtensionInfo.

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 16 15:20:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91b3051ac8b5358b5b9980fd0656d6a807f41d6b
      https://github.com/llvm/llvm-project/commit/91b3051ac8b5358b5b9980fd0656d6a807f41d6b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-16 (Thu, 16 Mar 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] Remove ExtName from RISCVExtensionInfo.

This field is never used in the compiler and was only used in
unit tests added recently.

It's only used as the value in a map where the extension name
is the key. If we need the string we can get it from the key.

Reviewed By: asb

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




More information about the All-commits mailing list