[flang-commits] [flang] [flang] handle passing bind(c) derived type by value for ppc64le and powerpc64-aix (PR #128780)
via flang-commits
flang-commits at lists.llvm.org
Wed Feb 26 01:19:45 PST 2025
================
@@ -0,0 +1,25 @@
+// Test powerpc64 rewrite of struct passed by value (BIND(C), VALUE derived types).
+//
+// RUN: fir-opt --target-rewrite="target=powerpc64-ibm-aix" %s | FileCheck %s
+// REQUIRES: powerpc-registered-target
----------------
jeanPerier wrote:
The `REQUIRES` is actually not needed as long as the datalayout string is provided, and I would suggest not adding REQUIRES because it is better if anyone can check if they are not breaking your test when updating the generic part of target rewrite.
Some similar tests have them, and some do not (e.g. the aarch64), and I think it is better to not have them when that is not needed, I will remove the existing REQUIRE.
https://github.com/llvm/llvm-project/pull/128780
More information about the flang-commits
mailing list