LLVM Flang Feature Enabled Drop 22.1.0 rocm-afar-8705-drop-22.1.0 (26-Sep-2025) Packages: https://repo.radeon.com/rocm/misc/flang wget https://repo.radeon.com/rocm/misc/flang//rocm-afar-8705-drop-22.1.0-rhel.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang//rocm-afar-8705-drop-22.1.0-sles.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang//rocm-afar-8705-drop-22.1.0-ubuntu.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang//rocm-afar-8705-drop-22.1.0-alma.tar.bz2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Note: - Drop version now LLVM-version.X.Y to avoid overlap with ROCm releases Drop 22.1.0 new functionality: - Support -gsplit-dwarf - Add support for -ffast-real-mod - Implicitly map nested allocatable components in derived types - `do concurrent`: support `reduce` on device - `do concurrent`: support `local` on device - Preserve to/from flags in mapper base entry for mappers - Add new ConvertComplexPow pass for Flang - Support -flto-partitions=N and -f[no]fat-lto-objects - Support -gdwarf-N option - Extend `do concurrent` mapping to device - Enable tiling - supports tripcount not a multiple of tile size - Fix mapping of character type with LEN > 1 specified - Fix default firstprivatization miscategorization of mod file symbols - Reassociate logical ATOMIC update expressions - Reassociate floating-point ATOMIC update expressions (with -ffast-math) - Add SPMD-No-Loop mode to OpenMP offload runtime - requires setting both of the following flags: -fopenmp-assume-teams-oversubscription -fopenmp-assume-threads-oversubscription - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Patches of interest: (a3d6bfccb3a4...f274e5084cc4) e38e0bde41e0 [mlir] Add splitDebugFilename field in DIComplileUnitAttr. https://github.com/llvm/llvm-project/pull/160704 96675a467ef5 [flang][Driver] Support -gsplit-dwarf. https://github.com/llvm/llvm-project/pull/160540 3e7e60ae5ce8 Revert "[Flang][OpenMP] Implicitly map nested allocatable components in derived types" https://github.com/llvm/llvm-project/pull/160759 34df860bf5a9 [Flang] Add support for -ffast-real-mod https://github.com/ROCm/llvm-project/commit/34df860bf5a9 e2585583ae84 [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_SIMD https://github.com/llvm/llvm-project/pull/160390 3bfcbfc327ad [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_VARIANT https://github.com/llvm/llvm-project/pull/160371 d73ffe57f983 [flang][OpenMP] Introduce variant argument, customize OmpArgument par… https://github.com/llvm/llvm-project/pull/160372 b4f1e0e5b173 [Flang][OpenMP] Implicitly map nested allocatable components in derived types https://github.com/llvm/llvm-project/pull/160116 31941d64760f [flang][OpenMP] Avoid extra newline when unparsing OmpReductionCombiner https://github.com/llvm/llvm-project/pull/160200 4feb0925b086 [flang] Disable -gdwarf-5 tests on AIX. https://github.com/llvm/llvm-project/pull/159533 a4168a685921 [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_REDUCTION https://github.com/llvm/llvm-project/pull/160192 3ca59104cfe9 [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_MAPPER https://github.com/llvm/llvm-project/pull/160169 0d92b7f9021e [flang][OpenMP] Resolve all components of OmpDirectiveSpecification https://github.com/llvm/llvm-project/pull/159946 2ab02b6f561d [flang][OpenMP] Support multi-block reduction combiner regions on the GPU https://github.com/llvm/llvm-project/pull/156837 9b75446940c0 [flang][OpenMP] `do concurrent`: support `reduce` on device https://github.com/llvm/llvm-project/pull/156610 9008c44c71c8 [flang][OpenMP] `do concurrent`: support `local` on device https://github.com/llvm/llvm-project/pull/157638 89d79b65f795 [flang][OpenMP] Semantic checks for TASKGRAPH https://github.com/llvm/llvm-project/pull/160115 fc1246745183 [flang][OpenMP] Stop tracking metadirective level in name resolution https://github.com/llvm/llvm-project/pull/159945 72f3b1c1af4b [flang][OpenMP] Simplify handling of UserReductionDetails a bit https://github.com/llvm/llvm-project/pull/159944 c075feef3715 [flang][OpenMP] Use OmpDirectiveSpecification in utility directives https://github.com/llvm/llvm-project/pull/159585 dfad9837d644 [flang][OpenMP] Use OmpDirectiveSpecification in METADIRECTIVE https://github.com/llvm/llvm-project/pull/159577 ad5778ff1611 [flang][OpenMP] Use OmpDirectiveSpecification in THREADPRIVATE https://github.com/llvm/llvm-project/pull/159632 f6fc6a2518e9 [OpenMP][MLIR] Preserve to/from flags in mapper base entry for mappers https://github.com/llvm/llvm-project/pull/159799 d89de09cb1e5 [flang][OpenMP] Reject blank common blocks more gracefully https://github.com/llvm/llvm-project/pull/159626 ec5460bc7034 [docs][OpenMP] Claim compound directive handling https://github.com/llvm/llvm-project/pull/160077 f205a2c0a093 [OpenMP] Allow Fortran tests https://github.com/llvm/llvm-project/pull/150722 8afea0d0ea1c [OpenMP][MLIR] Preserve to/from flags in mapper base entry for mappers https://github.com/llvm/llvm-project/pull/159799 24b03d3217e4 [flang][OpenMP] Move helper functions further up the file, NFC https://github.com/llvm/llvm-project/pull/159803 8c189327e557 [flang][OpenMP] Use OmpDirectiveSpecification in SECTIONS https://github.com/llvm/llvm-project/pull/159580 e2467cbfa8fd [flang][OpenMP] Remove no longer used OmpLoopDirective, NFC https://github.com/llvm/llvm-project/pull/159576 fdb1f486387d [MLIR] Add new complex.powi op https://github.com/llvm/llvm-project/pull/158722 54677d66c4af [Flang] Add new ConvertComplexPow pass for Flang https://github.com/llvm/llvm-project/pull/158642 10516bea2f24 [flang]enable llvm-readelf and llvm-objdump https://github.com/llvm/llvm-project/pull/159607 5b2af16be591 [flang][Driver] Enables lto-partitions and fat-lto-object. https://github.com/llvm/llvm-project/pull/158125 453e4102bd32 [flang] Lowering support for -gdwarf-N flag. https://github.com/llvm/llvm-project/pull/159137 9e3ec0e371e0 [Flang][runtime] Fix RENAME intrinsic, remove trailing blanks https://github.com/llvm/llvm-project/pull/159123 c286a427b977 [NFC][flang][do concurent] Add saxpy offload tests for OpenMP mapping https://github.com/llvm/llvm-project/pull/155993 046d6a39983a [Flang][OpenMP] Additional global address space modifications for device https://github.com/llvm/llvm-project/pull/119585 a1a7361e1c22 [flang][OpenMP] Fix failure reported on #155992 https://github.com/llvm/llvm-project/pull/158813 67c335c66395 [NFC][flang][OpenMP] `do concurrent` to device mapping lit tests https://github.com/llvm/llvm-project/pull/155992 5365f8bc91d2 Revert "[NFC][Flang] Move bounds helper functions to Util header." https://github.com/llvm/llvm-project/pull/158654 99ec5b95da4f [flang][driver] Support -gdwarf-N option. https://github.com/llvm/llvm-project/pull/158314 32ab6ff9f957 [NFC][Flang] Move bounds helper functions to Util header. https://github.com/llvm/llvm-project/pull/154164 cdd54ff927e0 [flang][OpenMP] Frontend support for REPLAYABLE and TRANSPARENT clauses https://github.com/llvm/llvm-project/pull/158149 13547a9a7777 [flang][OpenMP] Turn IsStrictlyStructuredBlock into utility function,… https://github.com/llvm/llvm-project/pull/158111 0dbea52dde64 [flang][OpenMP] Parse TASKGRAPH, GRAPH_ID, and GRAPH_RESET https://github.com/llvm/llvm-project/pull/157926 0efa75de650c [flang] Fix MSVC build break after e062b9c9a3433 https://github.com/llvm/llvm-project/pull/157971 827d775d6727 [docs][OpenMP] Claim TASKGRAPH https://github.com/llvm/llvm-project/pull/157947 78853df2bf82 [flang][OpenMP] Extend `do concurrent` mapping to device https://github.com/llvm/llvm-project/pull/155987 b1ae6d624902 [flang][OpenMP] Extend `do concurrent` mapping to device https://github.com/ROCm/llvm-project/commit/b1ae6d624902 00483379fbe0 [OpenMP] Add definitions of TASKGRAPH, GRAPH_ID and GRAPH_RESET https://github.com/llvm/llvm-project/pull/157502 fc9fe0f7b7bb [flang][OpenMP] Fix crash on DECLARE REDUCTION in unparse-with-symbols https://github.com/llvm/llvm-project/pull/157871 d452e67ee7b5 [flang][OpenMP] Enable tiling https://github.com/llvm/llvm-project/pull/143715 731ba68e800d [Flang][Utils] Fix BUILD_SHARED_LIBS build https://github.com/llvm/llvm-project/pull/157828 8f16af3c204e [Flang][OpenMP] Fix mapping of character type with LEN > 1 specified https://github.com/llvm/llvm-project/pull/154172 262e994c8b16 [Flang][OpenMP] Fix default firstprivatization miscategorization of mod file symbols https://github.com/llvm/llvm-project/pull/157009 10de30d8011e [flang] Fix build with -DBUILD_SHARED_LIBS=ON. https://github.com/ROCm/llvm-project/commit/10de30d8011e b41b736cae55 Re-apply: [flang][OpenMP] Support MLIR lowering of linear clause for omp.wsloop (#139385) https://github.com/ROCm/llvm-project/commit/b41b736cae55 68b98bb9b97b [docs][OpenMP] Remove "unclaimed" from language-specific items https://github.com/llvm/llvm-project/pull/157481 40edc34782b3 [docs][OpenMP] Update the status of GROUPPRIVATE in flang https://github.com/llvm/llvm-project/pull/157470 c85e6ac74d7c [NFC][flang][OpenMP] Extract target region utils to map or clone outside values https://github.com/llvm/llvm-project/pull/155754 5fc7e430129f [flang][OpenMP] Fix build break with gcc 7.5.0 after e58de06414 https://github.com/llvm/llvm-project/pull/157115 e58de06414b4 [flang][OpenMP] Reassociate logical ATOMIC update expressions https://github.com/llvm/llvm-project/pull/156961 cda14250e64c [flang][OpenMP] Allocate `reduction` init temps on the stack for GPUs https://github.com/llvm/llvm-project/pull/146667 5520e16d2a5e [flang][OpenMP] Parse ORDERED as standalone when DEPEND/DOACROSS is p… https://github.com/llvm/llvm-project/pull/156693 13f97f013adb [flang][OpenMP] Simplify LooselyStructuredBlockParser, NFC https://github.com/llvm/llvm-project/pull/156701 f8f96a4d4e60 [flang][OpenMP] Rename variable `block` to `body`, NFC https://github.com/llvm/llvm-project/pull/156702 cea2c8625e80 [OMPIRBuilder][Debug] Remove unnecessary code. https://github.com/llvm/llvm-project/pull/156468 c3f8c340d7b6 [mlir][debug] Inherit DISubprogramAttr from DILocalScopeAttr. https://github.com/llvm/llvm-project/pull/156081 7f60858ca4d7 [Flang][OpenMP][Runtime] Minor Flang runtime for OpenMP AMDGPU modifications https://github.com/llvm/llvm-project/pull/152631 62ff9ac4c68f [OpenMP] Use Clang resource dir only in bootstrapping build https://github.com/llvm/llvm-project/pull/156018 30d2cb5a7ecd [Flang][OpenMP][Runtime] Minor Flang runtime for OpenMP AMDGPU modifications https://github.com/llvm/llvm-project/pull/152631 a44ce1b949e0 [mlir][debug] Convert DbgIntrOp to DebugRecords directly. https://github.com/llvm/llvm-project/pull/154926 4159fd819a89 [OMPIRBuilder] Avoid crash in BasicBlock::splice. https://github.com/llvm/llvm-project/pull/154987 88b71e20488a [flang][OpenMP] Replace OpenMPBlockConstruct with OmpBlockConstruct https://github.com/llvm/llvm-project/pull/155872 8db757117914 [flang][OpenMP] Simplify getLocation in FlangOmpReportVisitor, NFC https://github.com/llvm/llvm-project/pull/155871 21e1ab334085 [flang][OpenMP] Reassociate floating-point ATOMIC update expressions https://github.com/llvm/llvm-project/pull/155840 87db8e9130e4 [OpenMP][Offload] Add SPMD-No-Loop mode to OpenMP offload runtime https://github.com/llvm/llvm-project/pull/154105 888ceac68173 [flang][OpenMP] Analyze objects in OmpObjectList on clauses (#155424) https://github.com/llvm/llvm-project/pull/155667 86e4c175e3de [NFC][flang][OpenMP] Create `FortranUtils` lib and move `createMapInfoOp` to it https://github.com/llvm/llvm-project/pull/154483 319705d0ab6f [flang] `do concurrent`: fix reduction symbol resolution when mapping to OpenMP https://github.com/llvm/llvm-project/pull/155355 bd54233170fd [Frontend][OpenMP] Move isPrivatizingConstruct from flang https://github.com/llvm/llvm-project/pull/155477 63085310c929 [flang][OpenMP] Analyze objects in OmpObjectList on clauses https://github.com/llvm/llvm-project/pull/155424 870866f50047 [flang][OpenMP] Fix parsing of ASSUME directive https://github.com/llvm/llvm-project/pull/155257 88f8ab01b585 [Flang-RT][OpenMP] Define _GLIBCXX_NO_ASSERTIONS https://github.com/llvm/llvm-project/pull/155440 17a49c405b63 [Flang] Fix BUILD_SHARED_LIBS build https://github.com/llvm/llvm-project/pull/155422 3870e5450c22 [flang][OpenMP] Delete no longer used Omp[End]CriticalDirective, NFC https://github.com/llvm/llvm-project/pull/155099 e9a27a3a7515 [OpenMPIRBuilder] Fix tripcount not a multiple of tile size https://github.com/llvm/llvm-project/pull/154999 1a55c63e5f96 [flang][do concurrent] Use values yielded by `local init` regions https://github.com/llvm/llvm-project/pull/155223