[all-commits] [llvm/llvm-project] 53a395: [AArch64][GlobalISel] Legalize more CTPOP vector t...
David Green via All-commits
all-commits at lists.llvm.org
Thu Mar 20 00:21:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53a395fda32cb0edd899202b6614595185b01ef1
https://github.com/llvm/llvm-project/commit/53a395fda32cb0edd899202b6614595185b01ef1
Author: David Green <david.green at arm.com>
Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/ctpop.ll
M llvm/test/CodeGen/AArch64/cttz.ll
Log Message:
-----------
[AArch64][GlobalISel] Legalize more CTPOP vector types. (#131513)
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list