[llvm] [Arm64EC] Add support for `half` (PR #152843)

Trevor Gross via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 9 00:51:27 PDT 2025


================
@@ -316,6 +316,11 @@ ThunkArgInfo AArch64Arm64ECCallLowering::canonicalizeThunkType(
                         ThunkArgTranslation::PointerIndirection};
   };
 
+  if (T->isHalfTy()) {
+    Out << "h";
----------------
tgross35 wrote:

`h` makes sense considering the others are `f` and `d`. However, I don't know what the namespace is here, so please double check that this isn't problematic.

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


More information about the llvm-commits mailing list