LLVM Flang Drop 23.2.0 therock-afar-23.2.0-gfxX-7.13.0-663ad81964a (18-Apr-2026) Packages: https://repo.radeon.com/rocm/misc/flang Install the package(s) for the desired gfx target: wget https://repo.radeon.com/rocm/misc/flang/therock-afar-23.2.0-gfx103X-7.13.0-663ad81964a.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-afar-23.2.0-gfx110X-7.13.0-663ad81964a.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-afar-23.2.0-gfx120X-7.13.0-663ad81964a.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-afar-23.2.0-gfx90a-7.13.0-663ad81964a.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-afar-23.2.0-gfx94X-7.13.0-663ad81964a.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-afar-23.2.0-gfx950-7.13.0-663ad81964a.tar.bz2 md5sum: b79a5241965b4504a0d0989e6ca22528 therock-afar-23.2.0-gfx103X-7.13.0-663ad81964a.tar.bz2 408c16e445ad96a6a61e472e84b40478 therock-afar-23.2.0-gfx110X-7.13.0-663ad81964a.tar.bz2 2f2009472abd6bc8ee3be99a5db7bde2 therock-afar-23.2.0-gfx120X-7.13.0-663ad81964a.tar.bz2 19fe882d2f0f54108eb687720f9d51ca therock-afar-23.2.0-gfx90a-7.13.0-663ad81964a.tar.bz2 529286c62c34859162ad29be4d0a6525 therock-afar-23.2.0-gfx94X-7.13.0-663ad81964a.tar.bz2 604bc42250e62cc064552ddfaa0731a9 therock-afar-23.2.0-gfx950-7.13.0-663ad81964a.tar.bz2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Drop 23.2.0 new functionality/fixes: - Uses TheRock build platform (https://github.com/ROCm/TheRock) - New infrastruture for producing ROCm releases - Packaged by gfx target to reduce size of ROCm libraries - Improvements made to overall compile/link time - [Comgr] Fix -fPIC missing on embedded header/resource OBJECT libraries - Re-enable defer-desc-mapping flag - Improve checks for DO CONCURRENT in loop constructs - [DoConcurrent] Map reduction variables as tofrom ByRef for device offloading - Fix Common Blocks use in update to/from and target maps causing compiler errors - Allow user-defined default mappers to bypass the implicit mapper fence - Fix AliasAnalysis to preserve Allocate source kind through box loads - Provide option to use heap allocation for private adjustable arrays: -mmlir --enable-gpu-heap-alloc - Loop IVs inside TEAMS are predetermined private in 5.2+ Known issues: - FPE seen in rocr-runtime if an application enables FP exceptions - ROCR runtime issue reported, fix in progress - UMT patch had to be updated to not enable FP exceptions https://github.com/ROCm/aomp/tree/aomp-dev/bin/patches UMT-5-9-0-amdflang-mods.patch for now use: UMT-5-9-0-amdflang-mods-with-fexceptions-disabled.patch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Patches of interest: (02b3a632850d...35849413f758) 390f813eb4ef [LLVM][Transforms][Attributor] - Add batch reachability optimization to forallInterferingAccesses https://github.com/ROCm/llvm-project/pull/2210 e75ff467e663 [LLVM][Transforms][Attributor] - Add configurable access cap for AAPointerInfo https://github.com/ROCm/llvm-project/pull/1807 6e94ad04a118 [flang] Fold x + 0, 0 + x and x - 0 for INTEGER and UNSIGNED https://github.com/llvm/llvm-project/pull/192479 a901d610a971 [LLVM][Transforms][Attributor] - Improvements in AAIntraFnReachability::isReachableImpl https://github.com/ROCm/llvm-project/pull/2182 ddc1ade5618c [Flang][MLIR][OpenMP] Support for parallel regions in Generic kernels https://github.com/ROCm/llvm-project/pull/1883 167e7e76d6bd [flang][OpenMP] Identify DO loops affected by loop-associated construct https://github.com/llvm/llvm-project/pull/191719 5dc1fd4c3cee [CIR] Add address space casts for pointer arguments when creating a call https://github.com/llvm/llvm-project/pull/192303 150e62532fd3 [CIR][OpenMP] Add OpenMP-to-LLVM type conversion for CIR-to-LLVM lowering https://github.com/llvm/llvm-project/pull/190063 40a585e742ed [CIR] Disable CIR pipeline for LLVM IR inputs https://github.com/llvm/llvm-project/pull/187729 9192300315e1 [flang][OpenMP] Implement GetGeneratedNestDepthWithReason https://github.com/llvm/llvm-project/pull/191718 abc1ec1c0288 [flang] clang-format flang/lib/Semantics/resolve-directives.cpp https://github.com/llvm/llvm-project/pull/191660 96b1ae746167 [flang][OpenMP] Use common utility functions to get affected nest depth https://github.com/llvm/llvm-project/pull/191418 2cd49f77f734 [flang][OpenMP] Rename GetRequiredCount to GetMinimumSequenceCount https://github.com/llvm/llvm-project/pull/191465 b8ac638c21a5 [flang][OpenMP] Add optional SemanticsContext parameter to loop util https://github.com/llvm/llvm-project/pull/191231 e267605bdd35 [flang][OpenMP] Move check for threadprivate iteration variable https://github.com/llvm/llvm-project/pull/191208 eaa842f9928d [Flang][OpenMP] Fix assertion found in LCOMPILER-1645 https://github.com/ROCm/llvm-project/pull/1885 28b84ba4acd7 [Flang][OpenMP] Re-enable defer-desc-mapping flag https://github.com/ROCm/llvm-project/pull/1902 629bd872ee61 [OMPIRBuilder] Move debug records to correct blocks. https://github.com/llvm/llvm-project/pull/157125 e765ea92055c [mlir][debug] Make DICompileUnitAttr recursive. https://github.com/llvm/llvm-project/pull/190808 649c44fc1b39 [flang][OpenMP] Improve checks for DO CONCURRENT in loop constructs https://github.com/llvm/llvm-project/pull/190990 387ab8f14986 [Flang][MLIR] fix xfailed tests https://github.com/ROCm/llvm-project/pull/2077 ff071d61654e [flang][DoConcurrent] Map reduction variables as tofrom ByRef for device offloading https://github.com/llvm/llvm-project/pull/189378 9b16edb9ec06 [Flang][OpenMP] Fix Common Blocks use in update to/from and target maps causing compiler errors https://github.com/llvm/llvm-project/pull/187221 ba01e8d24532 [Flang][OpenMP] Allow user-defined default mappers to bypass the implicit mapper fence https://github.com/llvm/llvm-project/pull/189136 292a74fba42d [flang][OpenMP] Implement checks for rectangular loops https://github.com/llvm/llvm-project/pull/190648 5a0ef1f63151 [flang][OpenMP] Introduce `semantics::omp::LoopControl` https://github.com/llvm/llvm-project/pull/190647 bd90922f42d8 [flang][OpenMP] Introduce WithSource to couple T with source location https://github.com/llvm/llvm-project/pull/190646 038261fa44ce [flang][OpenMP] Fix subtle bug in GetAffectedNestDepthWithReason https://github.com/llvm/llvm-project/pull/190645 de6d86cf281b [flang][OpenMP] Use OmpDirectiveSpecifications in helper functions https://github.com/llvm/llvm-project/pull/190644 1f75f318aee5 [Runtimes] Gracefully handle invalid LLVM_TARGET_TRIPLE https://github.com/llvm/llvm-project/pull/190284 afb80bddf147 [Runtimes] Introduce variables containing resource dir paths https://github.com/llvm/llvm-project/pull/177953 e55c85341d9f [Flang][OpenMP] Extend omp requires detection in Bridge.cpp https://github.com/llvm/llvm-project/pull/188106 91adaeceb162 [CIR][MLIR][OpenMP] Enable the MarkDeclareTarget pass for ClangIR https://github.com/llvm/llvm-project/pull/189420 2cff995e91c3 [AMDGPU] Fix crash with dead frame indices in debug values https://github.com/llvm/llvm-project/pull/183297 2e82b38771c3 [AMDGPU] Fix crash with dead frame indices in debug values https://github.com/ROCm/llvm-project/pull/1963 9e6ea761a074 [Flang] Fix fortran mlir xfails from recent merge https://github.com/ROCm/llvm-project/pull/1978 e04f8bb754bb [CIR] Add OMP module attributes to MLIR module https://github.com/llvm/llvm-project/pull/189394 8ab7b37e749f [OpenMP][test] Remove %flags-use-compiler-omp-h https://github.com/llvm/llvm-project/pull/188789 b912bad8fda6 [mlir] Add importedEntities field in DIComplileUnitAttr. https://github.com/llvm/llvm-project/pull/188576 4380ae6dbb04 [Flang-RT] Support building no library https://github.com/llvm/llvm-project/pull/187868 499afa6b45a2 [flang][OpenMP] Check if loop nest/sequence is well-formed https://github.com/llvm/llvm-project/pull/188025 6b6d1573a8a4 [flang][OpenMP] Provide reasons for calculated sequence length https://github.com/llvm/llvm-project/pull/187866 314a94c26f6a [flang][OpenMP] Provide reasons for calculated depths https://github.com/llvm/llvm-project/pull/187781 95d54423d9ab [flang][debug] Always include (kind=X) suffix in debug type names https://github.com/llvm/llvm-project/pull/186255 9096c9cda3df [LoopFusion] Remove the InvalidDependencies duplicates https://github.com/llvm/llvm-project/pull/187744 87bab31c27de [Flang] - Add optional inlining of allocatable assignments with hlfir.expr RHS https://github.com/llvm/llvm-project/pull/186880 cfc94a6fd7fa [flang][OpenMP] Introduce `WithReason` for nest/sequence properties https://github.com/llvm/llvm-project/pull/187563 98eaa95baeb7 [flang][OpenMP] Store bad ExecutionPartConstruct in LoopSequence https://github.com/llvm/llvm-project/pull/187556 4a1e9f73103f [CIR] Make the -save-temps flag emit .cir and .mlir files https://github.com/llvm/llvm-project/pull/186814 40a6180cea1b [Flang] - Fix AliasAnalysis to preserve Allocate source kind through box loads https://github.com/llvm/llvm-project/pull/187152 e3415da3cd12 [Flang][OpenMP] Permit THREADPRIVATE variables in EQUIVALENCE statements https://github.com/llvm/llvm-project/pull/186696 9f4a1ebb2054 [flang] Add const-qualified version of parser::Messages::messages() https://github.com/llvm/llvm-project/pull/187250 3ee7caa27387 [flang][OpenMP] Use the LoopSequence-based checks https://github.com/llvm/llvm-project/pull/185300 fc5a2b92f8c5 [flang][OpenMP] Identify affected loops, provide reason https://github.com/llvm/llvm-project/pull/185299 c0ccfd023ebe [flang] Reorder messages wrt line number before diff(actual, expect) https://github.com/llvm/llvm-project/pull/186812 02a2ccbe7776 [Flang][OpenMP] Provide option to use heap allocation for private adjustable arrays https://github.com/llvm/llvm-project/pull/186795 570963826233 [flang][OpenMP] Implement nest depth calculation in LoopSequence https://github.com/llvm/llvm-project/pull/186477 b1d206baf754 [flang][OpenMP] Account for GenericExprWrapper being null https://github.com/llvm/llvm-project/pull/186416 8950bf8e2fde [flang][OpenMP] Loop IVs inside TEAMS are predetermined private in 5.2+ https://github.com/llvm/llvm-project/pull/185958