[RISCV] Remove RISCVSubtarget::getArchMinVLen()/getArchMaxVLen().
authorCraig Topper <craig.topper@sifive.com>
Tue, 10 Jan 2023 23:32:11 +0000 (15:32 -0800)
committerCraig Topper <craig.topper@sifive.com>
Tue, 10 Jan 2023 23:32:11 +0000 (15:32 -0800)
commit5c126e35c149c1ae8ea2ca5192edb299a8e4fc64
treeb757c0158509eb769954bb0b1206f07525a4a651
parent73712c8790a93c29e513f5e201f92ac5b2370cf9
[RISCV] Remove RISCVSubtarget::getArchMinVLen()/getArchMaxVLen().

Fold them into their only callers, getRealMinVLen()/getArchMaxVLen().

It is unclear right now when these are needed so removing to discourage
misuse.

Between Zvl*b extensions, vector length command line options, and
vscale range, we have several ways to influence vector length. We
need to try to keep all code on the same page.
llvm/lib/Target/RISCV/RISCVSubtarget.h