[flang-commits] [clang] [flang] [Flang][Driver] Add support for option -f[no-]split-machine-functions in flang (PR #216637)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Aug 17 05:34:43 PDT 2026
================
@@ -0,0 +1,16 @@
+! Test handling of -fsplit-machine-functions and -fno-split-machine-functions.
+
+! RUN: %flang_fc1 -emit-llvm -triple x86_64-unknown-linux-gnu %s -o - | FileCheck %s --check-prefix=NEG_FLAG
+! RUN: %flang -### --target=x86_64-unknown-linux-gnu -fsplit-machine-functions %s 2>&1 | FileCheck %s --check-prefix=POS_FLAG
+! RUN: %flang -### --target=x86_64-unknown-linux-gnu -fno-split-machine-functions %s 2>&1 | FileCheck %s --check-prefix=NEG_FLAG
+! RUN: %flang -### --target=x86_64-unknown-linux-gnu -fsplit-machine-functions -fno-split-machine-functions %s 2>&1 | FileCheck %s --check-prefix=NEG_FLAG
----------------
tblah wrote:
This needs an `%if x86-registered-target` guard
https://github.com/llvm/llvm-project/pull/216637
More information about the flang-commits
mailing list