Commit 442071d
committed
[RISCV][VLOPT] Move mayReadPastVL check into getMinimumVLForUser. NFC
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 df96b56 commit 442071d
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1274 | 1279 | | |
1275 | 1280 | | |
1276 | 1281 | | |
| |||
1333 | 1338 | | |
1334 | 1339 | | |
1335 | 1340 | | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
| |||
0 commit comments