Commit ef90c3c
committed
[AArch64][GlobalISel] Legalize more CTPOP vector types.
Similar to other operations, s8, s16 s32 and s64 vector elements are clamped to
legal vector sizes, odd number of elements are widened to the next power-2 and
s128 is scalarized.
This helps legalize cttz as well as ctpop.1 parent 0e6ea09 commit ef90c3c
File tree
4 files changed
+866
-427
lines changed- llvm
- lib
- CodeGen/GlobalISel
- Target/AArch64/GISel
- test/CodeGen/AArch64
4 files changed
+866
-427
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6140 | 6140 | | |
6141 | 6141 | | |
6142 | 6142 | | |
| 6143 | + | |
6143 | 6144 | | |
6144 | 6145 | | |
6145 | 6146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
327 | 333 | | |
328 | 334 | | |
329 | 335 | | |
| |||
0 commit comments