Commit 17d6bf0
authored
[RISCV] Change how MMO is rebuilt in lowerFixedLengthVectorLoadToRVV/lowerFixedLengthVectorStoreToRVV (#88811)
Copy the pointer info, flags, alignment, AAInfo, and ranges, but let
getLoad rebuild the MMO using the scalable type used for the the new
load/store. This makes sure the LLT minimum size matches the ContainerVT
minimum size. This is important since vscale_range may have been used to
determine that the fixed vector was the exact size of a scalable vector.
Fixes #887991 parent f14146f commit 17d6bf0
File tree
2 files changed
+24
-14
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+24
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10433 | 10433 | | |
10434 | 10434 | | |
10435 | 10435 | | |
10436 | | - | |
10437 | | - | |
10438 | | - | |
10439 | | - | |
10440 | | - | |
10441 | | - | |
10442 | 10436 | | |
10443 | | - | |
| 10437 | + | |
| 10438 | + | |
| 10439 | + | |
10444 | 10440 | | |
10445 | 10441 | | |
10446 | 10442 | | |
| |||
10500 | 10496 | | |
10501 | 10497 | | |
10502 | 10498 | | |
10503 | | - | |
10504 | | - | |
10505 | | - | |
10506 | | - | |
10507 | | - | |
10508 | | - | |
10509 | 10499 | | |
10510 | | - | |
| 10500 | + | |
| 10501 | + | |
10511 | 10502 | | |
10512 | 10503 | | |
10513 | 10504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments