[llvm] [AArch64][ISel] Add clmul to pmullb/t lowering (PR #180568)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 10 05:31:08 PST 2026
================
@@ -2002,7 +2002,7 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
setPartialReduceMLAAction(MLAOps, MVT::nxv4i32, MVT::nxv8i16, Legal);
setPartialReduceMLAAction(MLAOps, MVT::nxv8i16, MVT::nxv16i8, Legal);
- setOperationAction(ISD::CLMUL, MVT::nxv16i8, Legal);
+ setOperationAction(ISD::CLMUL, {MVT::nxv16i8, MVT::nxv4i32}, Legal);
----------------
MDevereau wrote:
It's on purpose since there isn't a pmul/pmull/pmullb/pmullt that processes .h operands. We will probably have to do custom lowering for this soon, but I've decided to get through the sizes that have (somewhat) clean lowering to pmul/pmull instructions first.
https://github.com/llvm/llvm-project/pull/180568
More information about the llvm-commits
mailing list