[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
Tue Aug 18 23:50:52 PDT 2026
================
@@ -0,0 +1,20 @@
+! Verify that the MachineFunctionSplitter pass is enabled while passing -fsplit-machine-functions.
+
+! REQUIRES: x86-registered-target
+
+! RUN: %flang_fc1 -S -fsplit-machine-functions %s \
+! RUN: -triple x86_64-unknown-linux-gnu \
+! RUN: -mllvm -debug-pass=Structure -o %t 2>&1 \
----------------
kaviya2510 wrote:
`MachineFunctionSplitter` pass is a `MachineFunctionPass` whereas `fdebug-pass-manager` is an IR-level pass and it don't see machine passes at all.
So I used `-mllvm -debug-pass=Structure`.
https://github.com/llvm/llvm-project/pull/216637
More information about the flang-commits
mailing list