[all-commits] [llvm/llvm-project] f4f7c7: [RISCV][VLOPT] Move mayReadPastVL check into getMi...
Luke Lau via All-commits
all-commits at lists.llvm.org
Thu Feb 20 04:17:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4f7c71c55da442dc18e872d3c5db760a9ad43ba
https://github.com/llvm/llvm-project/commit/f4f7c71c55da442dc18e872d3c5db760a9ad43ba
Author: Luke Lau <luke at igalia.com>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
Log Message:
-----------
[RISCV][VLOPT] Move mayReadPastVL check into getMinimumVLForUser. NFC (#127972)
checkUsers currently does two things, a) work out the minimum VL read by
every user and b) check that the operand info of the MI and users match.
getMinimumVLForUser handles most of a), with the exception of the check
for instructions that read past VL e.g. vrgather which is still in
checkUsers.
This moves it into getMinimumVLForUser to keep all that logic in one
place and simplifies an upcoming patch.
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