[clang] [llvm] [AArch64] Add intrinsic support for Fdot instr. (PR #189987)

Kerry McLaughlin via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 02:28:02 PDT 2026


================
@@ -1903,6 +1903,14 @@ let ArchGuard = "defined(__aarch64__) || defined(__arm64ec__)", TargetGuard = "d
   def UDOT_LANEQ : SOpInst<"vdot_laneq", "..(<<)(<<Q)I", "iUiQiQUi", OP_DOT_LNQ>;
 }
 
+let ArchGuard = "defined(__aarch64__)", TargetGuard = "f16f32dot,neon" in {
+  def VDOT_F16 : SInst<"vdot", "..<<", "fQf">;
+  def VDOT_LANE_F16 : SInst<"vdot_lane", "..<(<q)I", "fQf",
----------------
kmclaughlin-arm wrote:

Are the builtin names missing an additional type?
i.e. it looks like these become `vdot_f32`, `vdot_lane_f32` etc, but the docs suggest they should be `vdot_f32_f16`, `vdot_lane_f32_f16`?

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


More information about the cfe-commits mailing list