Commit 3f9e7e7
committed
[AArch64][GlobalISel] Clean up CTLZ vector type legalization.
Similar to other operations, s8, s16 and s32 vector elements are clamped to
legal vector sizes, but in this case s64 are scalarized to use the gpr
instructions. This allows vector types to split as opposed to scalarizing.1 parent 215c0d2 commit 3f9e7e7
File tree
3 files changed
+77
-332
lines changed- llvm
- lib
- CodeGen/GlobalISel
- Target/AArch64/GISel
- test/CodeGen/AArch64
3 files changed
+77
-332
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6139 | 6139 | | |
6140 | 6140 | | |
6141 | 6141 | | |
| 6142 | + | |
6142 | 6143 | | |
6143 | 6144 | | |
6144 | 6145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
332 | 337 | | |
333 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
334 | 344 | | |
| 345 | + | |
335 | 346 | | |
336 | 347 | | |
337 | 348 | | |
| |||
0 commit comments