mirror-llvm-project/cross-project-tests/dtlto
Ben Dunbobbin 49d568a8d6
[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
2026-07-21 19:27:15 +01:00
..
archive.test [DTLTO][NFC] Minor cleanups and improvements to DTLTO tests (#177282) 2026-01-22 00:48:31 +00:00
archives-mixed-lto-modes-test.test [DTLTO][NFC] Minor cleanups and improvements to DTLTO tests (#177282) 2026-01-22 00:48:31 +00:00
archives-same-module-id.test [DTLTO][NFC] Minor cleanups and improvements to DTLTO tests (#177282) 2026-01-22 00:48:31 +00:00
cache-extraction.test [DTLTO] terminology - use extract rather than serialize (#208468) 2026-07-14 13:29:27 +01:00
dtlto-cache.test [DTLTO] Refactor the DTLTO code. (#192629) 2026-06-02 23:54:14 -07:00
dtlto-thinlto-cache.test Fixed 2 tests that failed on MacOS (#168482) 2025-11-18 01:24:38 -08:00
fat-lto-objects.test [DTLTO] support distributing bitcode from FatLTO objects (#176928) 2026-01-28 17:45:58 +00:00
ld-archive-thin.test
ld-dtlto.c
link-archive-thin.test [DTLTO][NFC] Minor cleanups and improvements to DTLTO tests (#177282) 2026-01-22 00:48:31 +00:00
link-dtlto.c
link-savetemps.test [DTLTO] Make temporary file handling consistent (#176807) 2026-01-26 17:55:49 +00:00
lit.local.cfg
local_codegen_and_wait.py [DTLTO] Make temporary file handling consistent (#176807) 2026-01-26 17:55:49 +00:00
multimodule.test [DTLTO] Fix handling of multi-module bitcode inputs (#174624) 2026-01-15 00:21:01 +00:00
path.test [TEST][FIX] Fix typo in tool name: 'llvm-ar' 2026-02-11 22:04:01 +00:00
README.md
remote-options.test [DTLTO] Forward loop interchange to DTLTO remote compilations (#208591) 2026-07-21 19:27:15 +01:00
savetemps-lock.test [DTLTO] Refactor the DTLTO code. (#192629) 2026-06-02 23:54:14 -07:00
savetemps.test [DTLTO] Make temporary file handling consistent (#176807) 2026-01-26 17:55:49 +00:00
signal.test [DTLTO] Make temporary file handling consistent (#176807) 2026-01-26 17:55:49 +00:00
test_temps.py [DTLTO] Make temporary file handling consistent (#176807) 2026-01-26 17:55:49 +00:00
unicode.test [DTLTO][TEST] Add a test for Unicode characters (#194823) 2026-05-13 11:47:08 +01:00

Tests for DTLTO (Integrated Distributed ThinLTO) functionality.

These are integration tests as DTLTO invokes clang for code-generation.