Skip to content
Unverified Commit 632f1c5d authored by Philip Reames's avatar Philip Reames Committed by GitHub
Browse files

[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.
parent d7aee330
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment