[all-commits] [llvm/llvm-project] b832c4: [RISCV] Fix VLOptimizer assert, relax ElementsDepe...
Luke Lau via All-commits
all-commits at lists.llvm.org
Sun Jul 20 23:52:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b832c49cb4d7668e6ab49c984ba3f4c56356f023
https://github.com/llvm/llvm-project/commit/b832c49cb4d7668e6ab49c984ba3f4c56356f023
Author: Luke Lau <luke at igalia.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrFormats.td
M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
Log Message:
-----------
[RISCV] Fix VLOptimizer assert, relax ElementsDependOn on viota/vms{b,i,o}f.m (#149698)
The previous assert wasn't passing the TSFlags but the opcode, so wasn't
working.
Fixing it reveals that it was actually triggering, because we're too
strict with viota and vmsxf.m We already reduce the VL on these
instructions because the result in each element doesn't depend on VL.
However, it does change if masked, so account for that.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list