[llvm] [RISCV][VLOPT] Add strided, unit strided, and indexed loads to isSupported (PR #121705)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 5 19:41:11 PST 2025
================
@@ -732,6 +747,30 @@ static bool isSupportedInstr(const MachineInstr &MI) {
return false;
switch (RVV->BaseInstr) {
+ // Vector Unit-Stride Instructions
+ // Vector Strided Instructions
+ case RISCV::VLE8_V:
+ case RISCV::VLM_V:
+ case RISCV::VLSE8_V:
+ case RISCV::VLE8FF_V:
----------------
lukel97 wrote:
Is it safe to reduce the VL of a fault-only-first load? I think that would potentially affect the result of its output VL operand.
https://github.com/llvm/llvm-project/pull/121705
More information about the llvm-commits
mailing list