[clang] [Clang][AArch64] Add fp8 variants for untyped NEON intrinsics (PR #128019)
Momchil Velikov via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 14 09:55:31 PDT 2025
================
@@ -5464,6 +5464,15 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
Builder.CreateStore(errorValue, swiftErrorTemp);
}
+ // Mfloat8 type is loaded as scalar type, but is treated as single
+ // vector type for other operations. We need to bitcast it to the vector
+ // type here.
+ if (auto *EltTy =
----------------
momchil-velikov wrote:
I don't see an issue here. That is exactly what should happen regardless of the target architecture any time the ABI for that architecture says values of type `T` are passed as `<1 x T>`.
https://github.com/llvm/llvm-project/pull/128019
More information about the cfe-commits
mailing list