aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-12-13 17:51:03 -0800
committerGitHub <noreply@github.com>2023-12-13 17:51:03 -0800
commit632f1c5d184b8adb7bf1bded357ccffeb5c2c5e2 (patch)
tree989a6c6f614401f599e4c30220a68ebe24f5c041 /llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
parentd7aee33029f2d029c16098bd0630831638c7038e (diff)
downloadllvm-632f1c5d184b8adb7bf1bded357ccffeb5c2c5e2.zip
llvm-632f1c5d184b8adb7bf1bded357ccffeb5c2c5e2.tar.gz
llvm-632f1c5d184b8adb7bf1bded357ccffeb5c2c5e2.tar.bz2
[RISCV] When VLEN is exactly known, prefer VLMAX encoding for vsetvli (#75412)
If we know the exact VLEN, then we can tell if the AVL for particular operation is equivalent to the vsetvli xN, zero, <vtype> encoding. Using this encoding is better than having to materialize an immediate in a register, but worse than being able to use the vsetivli zero, imm, <type> encoding.
Diffstat (limited to 'llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions