[RISCV] Remove ExtName from RISCVExtensionInfo.
authorCraig Topper <craig.topper@sifive.com>
Thu, 16 Mar 2023 22:20:25 +0000 (15:20 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 16 Mar 2023 22:20:25 +0000 (15:20 -0700)
commit91b3051ac8b5358b5b9980fd0656d6a807f41d6b
treef2737344031c8a8341e21fa8e06514ef86a627ee
parent3e16488769b9cd5b5edb6124feaa70d66deaeb0e
[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
llvm/include/llvm/Support/RISCVISAInfo.h
llvm/lib/Support/RISCVISAInfo.cpp
llvm/unittests/Support/RISCVISAInfoTest.cpp