Commit 7d4e8c1
authored
[SLP]Attempt to vectorize long stores, if short one failed.
We can try to vectorize long store sequences, if short ones were
unsuccessful because of the non-profitable vectorization. It should not
increase compile time significantly (stores are sorted already,
complexity is n x log n), but vectorize extra code.
Metric: size..text
Program size..text
results results0 diff
test-suite :: External/SPEC/CINT2006/400.perlbench/400.perlbench.test 1088012.00 1088236.00 0.0%
test-suite :: SingleSource/UnitTests/matrix-types-spec.test 480396.00 480476.00 0.0%
test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 664613.00 664661.00 0.0%
test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 664613.00 664661.00 0.0%
test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test 2041105.00 2040961.00 -0.0%
test-suite :: MultiSource/Applications/JM/lencod/lencod.test 836563.00 836387.00 -0.0%
test-suite :: MultiSource/Benchmarks/7zip/7zip-benchmark.test 1035100.00 1032140.00 -0.3%
In all benchmarks extra code gets vectorized
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: llvm#885631 parent c7657cf commit 7d4e8c1
2 files changed
Lines changed: 62 additions & 65 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15237 | 15237 | | |
15238 | 15238 | | |
15239 | 15239 | | |
15240 | | - | |
15241 | | - | |
15242 | | - | |
15243 | | - | |
15244 | | - | |
15245 | | - | |
15246 | | - | |
15247 | | - | |
15248 | | - | |
15249 | | - | |
15250 | | - | |
15251 | | - | |
15252 | | - | |
15253 | | - | |
15254 | | - | |
15255 | | - | |
15256 | | - | |
15257 | | - | |
15258 | | - | |
15259 | | - | |
15260 | | - | |
15261 | | - | |
15262 | | - | |
15263 | | - | |
15264 | | - | |
15265 | | - | |
15266 | | - | |
| 15240 | + | |
| 15241 | + | |
| 15242 | + | |
| 15243 | + | |
| 15244 | + | |
| 15245 | + | |
| 15246 | + | |
| 15247 | + | |
| 15248 | + | |
| 15249 | + | |
| 15250 | + | |
| 15251 | + | |
| 15252 | + | |
| 15253 | + | |
| 15254 | + | |
| 15255 | + | |
| 15256 | + | |
| 15257 | + | |
| 15258 | + | |
| 15259 | + | |
| 15260 | + | |
| 15261 | + | |
| 15262 | + | |
| 15263 | + | |
| 15264 | + | |
| 15265 | + | |
| 15266 | + | |
| 15267 | + | |
| 15268 | + | |
| 15269 | + | |
| 15270 | + | |
| 15271 | + | |
| 15272 | + | |
| 15273 | + | |
| 15274 | + | |
| 15275 | + | |
| 15276 | + | |
| 15277 | + | |
| 15278 | + | |
| 15279 | + | |
15267 | 15280 | | |
15268 | | - | |
15269 | 15281 | | |
15270 | | - | |
15271 | | - | |
| 15282 | + | |
| 15283 | + | |
15272 | 15284 | | |
| 15285 | + | |
| 15286 | + | |
| 15287 | + | |
| 15288 | + | |
| 15289 | + | |
| 15290 | + | |
| 15291 | + | |
| 15292 | + | |
| 15293 | + | |
15273 | 15294 | | |
15274 | 15295 | | |
15275 | 15296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
138 | 114 | | |
139 | 115 | | |
140 | 116 | | |
| |||
0 commit comments