[llvm] [IR] Add llvm `clmul` intrinsic (PR #140301)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue May 20 14:04:33 PDT 2025
================
@@ -199,6 +199,25 @@ static Value *LowerCTLZ(LLVMContext &Context, Value *V, Instruction *IP) {
return LowerCTPOP(Context, V, IP);
}
+/// Emit the code to lower clmul of V1, V2 before the specified instruction IP.
+static Value *LowerCLMUL(LLVMContext &Context, Value *V1, Value *V2, Instruction *IP) {
----------------
topperc wrote:
Need to support promoting and expanding in LegalizeIntegerTypes.cpp. Splitting, widening, and scalarizing in LegalizeVectorTypes.cpp.
https://github.com/llvm/llvm-project/pull/140301
More information about the llvm-commits
mailing list