[flang-commits] [clang] [flang] [llvm] [CodeGen] Add a FunctionSplittingMode target option (PR #226575)
via flang-commits
flang-commits at lists.llvm.org
Wed Oct 7 19:58:46 PDT 2026
================
@@ -181,6 +181,13 @@ Makes programs 10x faster by doing Special New Thing.
GNU-vs-EABI distinction is now derived entirely from the target triple's
environment (e.g. `arm-none-gnueabi` vs `arm-none-eabi`).
+* Replaced `TargetOptions::EnableMachineFunctionSplitter` with
+ `TargetOptions::FunctionSplitting`, and the `-split-machine-functions` and
+ `-enable-split-machine-functions` flags with
+ `-function-splitting={none,bbsections,all}`. Use `-function-splitting=all`
+ for the previous behavior. Clang's `-fsplit-machine-functions` is
----------------
MattPD wrote:
Confirmed. Clang and Flang now accept `-mllvm -function-splitting=all` and enable splitting.
https://github.com/llvm/llvm-project/pull/226575
More information about the flang-commits
mailing list