[all-commits] [llvm/llvm-project] 44409a: [flang][cmake][perf-training] Optimize flang with ...
Paul Osmialowski via All-commits
all-commits at lists.llvm.org
Wed Jun 24 10:01:29 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 44409a06cffd8271bce7bf075ce4f4d4552c35ad
https://github.com/llvm/llvm-project/commit/44409a06cffd8271bce7bf075ce4f4d4552c35ad
Author: Paul Osmialowski <pawel.osmialowski at arm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/CMakeLists.txt
A flang/cmake/caches/BOLT-PGO.cmake
A flang/cmake/caches/BOLT.cmake
A flang/cmake/caches/PGO-stage2-instrumented.cmake
A flang/cmake/caches/PGO-stage2.cmake
A flang/cmake/caches/PGO.cmake
M flang/test/CMakeLists.txt
M flang/test/Driver/offload-device.f90
A flang/test/bolt.lit.cfg
M flang/test/lit.cfg.py
M flang/test/lit.site.cfg.py.in
A flang/test/pgo.lit.cfg
A flang/test/test.lit.cfg
M llvm/docs/AdvancedBuilds.rst
Log Message:
-----------
[flang][cmake][perf-training] Optimize flang with PGO and BOLT (#198863)
This is an attempt to replicate similar fearture already available to
clang. The changes in this patch were made with an intent to reuse as
much of existing infrastructure as possible. Namely, two-stage build
arrangement, perf-helper.py script and the means for building of the
instrumented binaries have all been incorporated into this approach.
It was deliberately chosen to optimize clang along with flang as they
are mostly working together in the final toolchain.
See the `llvm/docs/AdvancedBuilds.rst` documentation for more details.
Note that the attempt to optimize flang has exceeded one of the BOLT
limitations. The size of one of the statically allocated buffers needed
to be extended in this patch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list