[all-commits] [llvm/llvm-project] a61830: [AArch64][ISel] Improve lowering for clmul v4i32 w...
Matthew Devereau via All-commits
all-commits at lists.llvm.org
Fri Jun 26 04:18:28 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a61830a1d36ada362076677dd1b17fcf875ed07b
https://github.com/llvm/llvm-project/commit/a61830a1d36ada362076677dd1b17fcf875ed07b
Author: Matthew Devereau <matthew.devereau at arm.com>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/clmul-fixed.ll
M llvm/test/CodeGen/AArch64/clmul-fixed.ll
Log Message:
-----------
[AArch64][ISel] Improve lowering for clmul v4i32 with AES (#204542)
Lower CLMUL v4i32 by splitting it into two v2i32 operations and
concatenating the results when AES is available. This avoids the much
larger generic expansion and lets v4i16 benefit via legalization through
v4i32.
Update the cost model: v4i32 is costed as the 11-instruction PMULL
sequence, and v4i16 as that sequence plus the required input widens and
result narrow.
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