[RISCV] Remove RISCVSubtarget::hasStdExtV() and hasStdExtZve*(). NFC

All code should use one of the cleaner named hasVInstructions*
functions. Fix the two uses that weren't and delete the methods
so no new uses can be created.
This commit is contained in:
Craig Topper 2022-01-20 14:57:31 -08:00
parent 284cd693f1
commit 5e88f527da
2 changed files with 2 additions and 8 deletions

View File

@ -200,12 +200,12 @@ def HasVInstructions : Predicate<"Subtarget->hasVInstructions()">,
(any_of FeatureStdExtZve32x),
"'V' (Vector Extension for Application Processors), 'Zve32x' or "
"'Zve64x' (Vector Extensions for Embedded Processors)">;
def HasVInstructionsI64 : Predicate<"Subtarget->hasStdExtZve64x()">,
def HasVInstructionsI64 : Predicate<"Subtarget->hasVInstructionsI64()">,
AssemblerPredicate<
(any_of FeatureStdExtZve64x),
"'V' (Vector Extension for Application Processors) or 'Zve64x' "
"(Vector Extensions for Embedded Processors)">;
def HasVInstructionsAnyF : Predicate<"Subtarget->hasStdExtZve32f()">,
def HasVInstructionsAnyF : Predicate<"Subtarget->hasVInstructionsAnyF()">,
AssemblerPredicate<
(any_of FeatureStdExtZve32f),
"'V' (Vector Extension for Application Processors), 'Zve32f', "

View File

@ -153,12 +153,6 @@ public:
bool hasStdExtZbr() const { return HasStdExtZbr; }
bool hasStdExtZbs() const { return HasStdExtZbs; }
bool hasStdExtZbt() const { return HasStdExtZbt; }
bool hasStdExtV() const { return HasStdExtV; }
bool hasStdExtZve32x() const { return HasStdExtZve32x; }
bool hasStdExtZve32f() const { return HasStdExtZve32f; }
bool hasStdExtZve64x() const { return HasStdExtZve64x; }
bool hasStdExtZve64f() const { return HasStdExtZve64f; }
bool hasStdExtZve64d() const { return HasStdExtZve64d; }
bool hasStdExtZvl() const { return ZvlLen != ExtZvl::NotSet; }
bool hasStdExtZfhmin() const { return HasStdExtZfhmin; }
bool hasStdExtZfh() const { return HasStdExtZfh; }