Commit f4f7c71
authored
[RISCV][VLOPT] Move mayReadPastVL check into getMinimumVLForUser. NFC (llvm#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.1 parent 6361a8a commit f4f7c71
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1275 | 1280 | | |
1276 | 1281 | | |
1277 | 1282 | | |
| |||
1335 | 1340 | | |
1336 | 1341 | | |
1337 | 1342 | | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | 1343 | | |
1344 | 1344 | | |
1345 | 1345 | | |
| |||
0 commit comments