aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2022-06-24 13:08:39 -0700
committerPhilip Reames <listmail@philipreames.com>2022-06-24 13:08:39 -0700
commita0443dd47c84abd1ea7a4c3c4e6f14d38a08388a (patch)
tree26e12b995c424182ddad84e18e5925050b19e90f /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentf1e1c3ce772565d77a920119dcd0b43622059fb1 (diff)
downloadllvm-a0443dd47c84abd1ea7a4c3c4e6f14d38a08388a.zip
llvm-a0443dd47c84abd1ea7a4c3c4e6f14d38a08388a.tar.gz
llvm-a0443dd47c84abd1ea7a4c3c4e6f14d38a08388a.tar.bz2
[RISCV] Simplify 16 bit index handling in lowerVECTOR_REVERSE [nfc]
getRealMaxVLen returns an upper bound on the value of VLEN. We can use this upper bound (which unless explicitly set at command line is going to result in a e8 MaxVLMax of much greater than 256) instead of explicitly handling the unknown case separately from the bounded by number greater than 256 case. Note as well that this code already implicitly depends on a capped value for VLEN. If infinite VLEN were possible, than 16 bit indices wouldn't be enough.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions