[llvm] [ISel] Introduce llvm.clmul intrinsic (PR #168731)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 01:48:56 PST 2025


================
@@ -0,0 +1,11462 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv32 -mattr=+m -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32IM
+; RUN: llc -mtriple=riscv64 -mattr=+m -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV64IM
+
+define i4 @clmul_i4(i4 %a, i4 %b) nounwind {
----------------
pfusik wrote:

This is expanded XLEN-wide clmul. Can we expand `i4` clmul instead?

https://github.com/llvm/llvm-project/pull/168731


More information about the llvm-commits mailing list