Commit de52d23
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 215c0d2 commit de52d23
File tree
4 files changed
+868
-429
lines changed- llvm
- lib
- CodeGen/GlobalISel
- Target/AArch64/GISel
- test/CodeGen/AArch64
4 files changed
+868
-429
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 | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
327 | 333 | | |
328 | 334 | | |
329 | 335 | | |
| |||
0 commit comments