llvm-project
f4f7c71c - [RISCV][VLOPT] Move mayReadPastVL check into getMinimumVLForUser. NFC (#127972)

Commit
258 days ago
[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.
Author
Parents
Loading