[all-commits] [llvm/llvm-project] 5c126e: [RISCV] Remove RISCVSubtarget::getArchMinVLen()/ge...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Jan 10 15:32:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5c126e35c149c1ae8ea2ca5192edb299a8e4fc64
https://github.com/llvm/llvm-project/commit/5c126e35c149c1ae8ea2ca5192edb299a8e4fc64
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSubtarget.h
Log Message:
-----------
[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.
More information about the All-commits
mailing list