mirror-llvm-project/cross-project-tests
Ben Dunbobbin 5910053397
[DTLTO] Forward loop interchange to DTLTO remote compilations (#208591)
Recent upstream LLVM changes enabled `LoopInterchangePass` by default
through `PipelineTuningOptions`. TLTO observes that state directly from
the LTO config, but DTLTO was not forwarding the equivalent Clang option
to the remote compiler. As a result, TLTO could run loop interchange
pass while DTLTO did not, producing codegen differences for
configurations that exposed profitable/legally interchangeable loops.
Note that this was a pre-existing issue, the change in default has
simply exposed it.

Forward `C.PTO.LoopInterchange` as `-floop-interchange` when
constructing the common DTLTO remote compiler options. Extend the
testing to check that the SN-DBS remote command line includes the
forwarded option.

The code for forwarding such options is only intended as a temporary
measure. A more comprehensive solution is in discussion here:
https://discourse.llvm.org/t/synchronizing-lto-code-generation-configuration-between-clang-and-lld-dtlto

(cherry picked from commit 49d568a8d6)
2026-07-23 07:54:04 +02:00
..
amdgpu
debuginfo-tests [Dexter] Switch to using script-mode by default (#204369) 2026-07-03 09:19:30 +01:00
dtlto [DTLTO] Forward loop interchange to DTLTO remote compilations (#208591) 2026-07-23 07:54:04 +02:00
intrinsic-header-tests [RISCV][P-ext] Improve RV64 v2i16 reverse codegen (#208664) 2026-07-13 22:22:38 +08:00
tools/llvm-objdump/ARM [llvm-objdump][ARM] Find ELF file PLT entries for arm, thumb (#130764) 2025-03-26 20:18:23 +01:00
veclib Update veclib-sincos.c test checks (NFC) (#175221) 2026-01-09 18:48:52 +00:00
CMakeLists.txt [DTLTO] Add remote compiler option forwarding coverage (#208589) 2026-07-23 07:54:04 +02:00
lit.cfg.py [Dexter] Require lldb-dap for Dexter and log when Dexter is disabled (#206734) 2026-06-30 15:08:10 +01:00
lit.site.cfg.py.in [DTLTO][Windows] Expand short 8.3 form paths in ThinLTO module IDs (#178303) 2026-02-11 21:20:25 +00:00