[flang-commits] [clang] [flang] [Flang][Driver] Add support for option -f[no-]split-machine-functions in flang (PR #216637)
Kaviya Rajendiran via flang-commits
flang-commits at lists.llvm.org
Wed Aug 19 23:46:20 PDT 2026
================
@@ -0,0 +1,16 @@
+! Test handling of -fsplit-machine-functions and -fno-split-machine-functions.
+
+! RUN: %if x86-registered-target %{ %flang_fc1 -emit-llvm -triple x86_64-unknown-linux-gnu %s -o - | FileCheck %s --check-prefix=NEG_FLAG %}
+! RUN: %if x86-registered-target %{ %flang -### --target=x86_64-unknown-linux-gnu -fsplit-machine-functions %s 2>&1 | FileCheck %s --check-prefix=POS_FLAG %}
+! RUN: %if x86-registered-target %{ %flang -### --target=x86_64-unknown-linux-gnu -fno-split-machine-functions %s 2>&1 | FileCheck %s --check-prefix=NEG_FLAG %}
----------------
kaviya2510 wrote:
Done
https://github.com/llvm/llvm-project/pull/216637
More information about the flang-commits
mailing list