[flang-commits] [flang] [flang] AArch64 support for BIND(C) derived return types (PR #114051)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Tue Oct 29 10:51:31 PDT 2024


================
@@ -825,6 +825,48 @@ struct TargetAArch64 : public GenericTarget<TargetAArch64> {
     }
     return marshal;
   }
+
+  static bool isHFA(fir::RecordType ty) {
+    auto types = ty.getTypeList();
+    if (types.empty() || types.size() > 4) {
+      return false;
+    }
+
+    if (!isa_real(types.front().second)) {
+      types.front().second.dump();
----------------
kiranchandramohan wrote:

Is this leftover debug?

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


More information about the flang-commits mailing list