[clang] [CIR][AArch64] Lower vfma lane builtins (PR #188190)
Andrzej WarzyĆski via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 8 06:49:40 PDT 2026
================
@@ -807,6 +880,9 @@ static mlir::Value emitCommonNeonSISDBuiltinExpr(
return emitNeonCall(cgf.cgm, cgf.getBuilder(),
{cgf.convertType(expr->getArg(0)->getType())}, ops,
llvmIntrName, cgf.convertType(expr->getType()), loc);
+ case NEON::BI__builtin_neon_vfma_v:
+ case NEON::BI__builtin_neon_vfmaq_v:
+ return emitVectorFmaBuiltin(cgf, loc, ops, expr);
----------------
banach-space wrote:
As is the case with [the original implementation from ARM.cpp](https://github.com/llvm/llvm-project/blob/8d7823ea8f40cf5df1c623018bf9c0a308fa4a36/clang/lib/CodeGen/TargetBuiltins/ARM.cpp?plain=1#L1118-L1175), I would expect all intrinsics implemented in this method to lower directly via `emitNeonCall`. Why diverge?
https://github.com/llvm/llvm-project/pull/188190
More information about the cfe-commits
mailing list