[flang-commits] [flang] Fixing the testcase failure in arm64 darwin systems (PR #206223)
via flang-commits
flang-commits at lists.llvm.org
Fri Jun 26 23:19:37 PDT 2026
https://github.com/shivaramaarao created https://github.com/llvm/llvm-project/pull/206223
For apple targets, the string EnableSplitLTOUnit is not emitted in fulllto. Marking the test unsupported for this targets.
>From 123dbd547eb93235f82f345d98f691bd682b85de Mon Sep 17 00:00:00 2001
From: Shivarama Rao <shivarama.rao at amd.com>
Date: Sat, 27 Jun 2026 11:41:57 +0530
Subject: [PATCH] For apple targets, the string EnableSplitLTOUnit is not
emitted. Marking the test unsupported for these targets.
---
flang/test/Integration/split-lto-unit-2.f90 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/flang/test/Integration/split-lto-unit-2.f90 b/flang/test/Integration/split-lto-unit-2.f90
index 843c6b5e717f5..d82a51c68aaaf 100644
--- a/flang/test/Integration/split-lto-unit-2.f90
+++ b/flang/test/Integration/split-lto-unit-2.f90
@@ -1,4 +1,7 @@
! Check that -flto=thin without -fsplit-lto-unit has EnableSplitLTOUnit = 0
+
+! UNSUPPORTED: system-darwin
+
! RUN: %flang -flto=thin -S -o - %s | FileCheck %s --check-prefix=SPLIT0
! RUN: %if x86-registered-target %{ %flang -flto=thin --target=x86_64-linux-gnu -S -o - %s | FileCheck %s --check-prefix=SPLIT0 %}
! RUN: %if x86-registered-target %{ %flang -flto=thin --target=x86_64-apple-macosx -S -o - %s | FileCheck %s --check-prefix=SPLIT0 %}
More information about the flang-commits
mailing list