[flang-commits] [flang] [flang] RISCV64 (lp64/lp64d) support for BIND(C) derived types (PR #198335)
Philipp Rados via flang-commits
flang-commits at lists.llvm.org
Tue Sep 22 04:19:30 PDT 2026
================
@@ -1425,6 +1428,316 @@ struct TargetRISCV64 : public GenericTarget<TargetRISCV64> {
}
return marshal;
}
+
+ bool hasHardFloatABI(mlir::Location loc) const {
+ auto abi = getTargetABI();
+
+ if (abi == "lp64d")
+ return true;
+ if (abi == "lp64")
+ return false;
+ TODO(loc, "RISCV64 BIND(C) support for " + abi);
----------------
prados-oc wrote:
Changed here and in the other places
https://github.com/llvm/llvm-project/pull/198335
More information about the flang-commits
mailing list