[all-commits] [llvm/llvm-project] 7899d5: [AArch64][ISel] Add custom lowering for clmul nxv8...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Tue May 12 06:49:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7899d550d169680f13df98796373d82262549910
      https://github.com/llvm/llvm-project/commit/7899d550d169680f13df98796373d82262549910
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2026-05-12 (Tue, 12 May 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/clmul-scalable.ll

  Log Message:
  -----------
  [AArch64][ISel] Add custom lowering for clmul nxv8i16 (#195893)

When sve2/sme are available, this sequence provides faster and smaller
codegen than the current lowering:
```
    clmul.i16(a, b) = xor(pmullb(a_lo, b_lo),
                          lsl(xor(pmul(a_hi, b_lo),
                                  pmul(a_lo, b_hi)),
                              8))
``` 
Assisted-by: codex with gpt-5.5



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