aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2022-06-24 12:03:33 -0700
committerPhilip Reames <listmail@philipreames.com>2022-06-24 12:07:33 -0700
commitf1b1bcdbd4b405876577693f402d1787ca6a2985 (patch)
treedd1bd3f6db792316b93ca46a374bd97b1866574d /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentd7ab38f8f4d4a21cd09f62aed897cc02d174d57b (diff)
downloadllvm-f1b1bcdbd4b405876577693f402d1787ca6a2985.zip
llvm-f1b1bcdbd4b405876577693f402d1787ca6a2985.tar.gz
llvm-f1b1bcdbd4b405876577693f402d1787ca6a2985.tar.bz2
[RISCV] Replace two calls to getMinRVVVectorSizeInBits with getRealMinVLen [nfc]
This doesn't change behavior, it just makes it slightly more obvious what's going on. Note that getRealMinVLen is always >= getMinRVVVectorSizeInBits. The first case is a bit tricky, as you have to know that getMinRVVVectorSizeInBits returns 0 when not set, and thus is equivalent to the else value clause. The new code structure makes it more obvious we return 0 unless using RVV for fixed length vectors.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions