diff options
author | Luke Lau <luke@igalia.com> | 2024-05-21 12:15:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 12:15:19 +0800 |
commit | b4492c910cc6a3593b429b0ca16a1c7970e8b879 (patch) | |
tree | 5e6e8c57fd52f9712db2887e432e7f32ba99a2e1 /llvm/lib/Support/LockFileManager.cpp | |
parent | 8be079cdddfd628d356d9ddb5ab397ea95fb1030 (diff) | |
download | llvm-b4492c910cc6a3593b429b0ca16a1c7970e8b879.zip llvm-b4492c910cc6a3593b429b0ca16a1c7970e8b879.tar.gz llvm-b4492c910cc6a3593b429b0ca16a1c7970e8b879.tar.bz2 |
[RISCV] Use an enum for demanded LMUL in RISCVInsertVSETVLI. NFC (#92513)
In needVSETVLI used by the forward insertion pass, we have some rules
where we can relax the demanded fields for slides and splats when VL=1.
However this only works if we don't increase LMUL to anything > M1
otherwise we would end up clobbering random registers.
Rather than check the VSETVLIInfo we're transitioning to, store this
information in DemandedFields and have isCompatible check it.
That way an upcoming patch can share these VL=1 rules with
RISCVCoalesceVSETVLI, which uses isCompatible and not needVSETVLI.
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions