Commit d0f7329
committed
[LV] Also handle non-uniform scalarized loads when processing AddrDefs.
Loads of addresses are scalarized and have their costs computed w/o
scalarization overhead. Consistently apply this logic also to
non-uniform loads that are already scalarized, to ensure their costs are
consistent with other scalarized lodas that are used as addresses.
(cherry picked from commit 7dd9b3d)1 parent a323a92 commit d0f7329
File tree
3 files changed
+805
-6
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/LoopVectorize
- AArch64
- X86
3 files changed
+805
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5738 | 5738 | | |
5739 | 5739 | | |
5740 | 5740 | | |
5741 | | - | |
5742 | | - | |
| 5741 | + | |
| 5742 | + | |
| 5743 | + | |
| 5744 | + | |
| 5745 | + | |
5743 | 5746 | | |
5744 | 5747 | | |
5745 | 5748 | | |
| |||
0 commit comments