[clang] [CIR][AArch64] Lower BF16 vduph lane builtins (PR #185852)
Jiahao Guo via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 19:48:15 PDT 2026
================
@@ -2824,6 +2822,16 @@ CIRGenFunction::emitAArch64BuiltinExpr(unsigned builtinID, const CallExpr *expr,
return mlir::Value{};
}
+ switch (builtinID) {
+ default:
+ break;
+ case NEON::BI__builtin_neon_vduph_lane_bf16:
+ case NEON::BI__builtin_neon_vduph_laneq_bf16: {
+ uint64_t index = getZExtIntValueFromConstOp(ops[1]);
----------------
E00N777 wrote:
Thanks for the suggestions. I've updated the lowering to use the earlier switch for the lane-extract family.
https://github.com/llvm/llvm-project/pull/185852
More information about the cfe-commits
mailing list