diff options
author | Luke Lau <luke@igalia.com> | 2025-02-20 20:17:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 20:17:18 +0800 |
commit | f4f7c71c55da442dc18e872d3c5db760a9ad43ba (patch) | |
tree | 2200d1cf710131db710616577bbb12f0c41e6b32 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 6361a8a1b763d6915636eb8cfaf64f2d8fe60a03 (diff) | |
download | llvm-f4f7c71c55da442dc18e872d3c5db760a9ad43ba.zip llvm-f4f7c71c55da442dc18e872d3c5db760a9ad43ba.tar.gz llvm-f4f7c71c55da442dc18e872d3c5db760a9ad43ba.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions