LLVM Flang Drop 23.1.0 therock-23.1.0-gfxX-7.12.0-bb5005b6 (17-Mar-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-23.1.0-gfx103X-7.12.0-bb5005b6.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-23.1.0-gfx110X-7.12.0-bb5005b6.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-23.1.0-gfx120X-7.12.0-bb5005b6.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-23.1.0-gfx94X-7.12.0-bb5005b6.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-23.1.0-gfx950-7.12.0-bb5005b6.tar.bz2 wget https://repo.radeon.com/rocm/misc/flang/therock-23.1.0-gfx90a-7.12.0-bb5005b6.tar.bz2 md5sum: 01e6369df3fd4debb830d0e4994c338a therock-23.1.0-gfx103X-7.12.0-bb5005b6.tar.bz2 b36cbf5d1dcf42734477c7a97c8c2fd5 therock-23.1.0-gfx110X-7.12.0-bb5005b6.tar.bz2 13926ef9ace3fb918ca0a75287e74a97 therock-23.1.0-gfx120X-7.12.0-bb5005b6.tar.bz2 5d4be3b012e776e50c1c3f648ef3321f therock-23.1.0-gfx90a-7.12.0-bb5005b6.tar.bz2 20feda82ceb33499daed88ee3f81dd40 therock-23.1.0-gfx94X-7.12.0-bb5005b6.tar.bz2 e68e90c60c6ed8419a955753192d8635 therock-23.1.0-gfx950-7.12.0-bb5005b6.tar.bz2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Drop 23.1.0 new functionality: - Switched to using TheRock build platform (https://github.com/ROCm/TheRock) - New infrastruture for producing ROCm releases - Packaged by gfx target to reduce size of ROCm libraries - Fix type error when calling EXIT intrinsic - Fix recursive mapper emission - Fix mapping of constant arrays - Fixes error: 'hlfir.designate' op using value defined outside the region - Allow assumed-size arrays on USE_DEVICE_ADDR clause - Allow ALLOC/RELEASE in place of STORAGE in 6.0 - Add FIR and LLVM lowering support for prefetch directive - Hoist static parallel region allocas to the entry block on the CPU - Hoist static `alloca`s emitted by private `init` regions to the allocation IP - Add support for implicit linearization in omp.simd - Fix directive interactions with implicit declare mapper - Fixes error: omptarget message: explicit extension not allowed - Fixes regression seen in UMT - Many more fixes (see "Patches of interest' below) 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: (3d034651e263...02b3a632850d) e1cea97e28bf [flang][OpenMP] Prevent attaching implicit mapper to data motion clause https://github.com/llvm/llvm-project/pull/185850 acd52a241959 [flang][OpenMP][DoConcurrent] Emit declare mapper for records https://github.com/llvm/llvm-project/pull/179936 e9aa5809f146 [OpenMP] Add definitions of FLATTEN and SPLIT to OMP.td https://github.com/llvm/llvm-project/pull/185642 cd3cab70fd8d [mlir][OpenMP] Allow tile composition https://github.com/llvm/llvm-project/pull/185380 8f668cec4713 [MLIR][OpenMP] Prevent teams reductions from deadlocking https://github.com/llvm/llvm-project/pull/184625 0bf9bb5c42c6 [Flang][OpenMP] Fix close map flag propagation for derived types in USM https://github.com/llvm/llvm-project/pull/185330 18f228810eb2 [Flang][OpenMP] Skip intermediate map generation for motion modifier map directives https://github.com/llvm/llvm-project/pull/177737 f55080da988a [flang][OpenMP] Avoid implicit default mapper on pointer captures https://github.com/llvm/llvm-project/pull/184382 f55a5cf014d2 [OpenMP] Only generate call to __kmpc_global_thread_num when needed https://github.com/llvm/llvm-project/pull/182669 f71dc5a6a41c [Testing][Flang][OpenMP] Initial implementation of ref_ptr/ptee/ptr_ptee and attach auto/always/never https://github.com/ROCm/llvm-project/pull/580 103cef9e4fce [flang][OpenMP] Initial support for DEPTH clause https://github.com/llvm/llvm-project/pull/182288 c985f285e491 [OMPIRBuilder] Hoist alloca's to entry blocks of compiler-emitted GPU reduction functions https://github.com/llvm/llvm-project/pull/181359 e442173c8bcd [flang][OpenMP] Implement iterator that flattens BLOCK constructs https://github.com/llvm/llvm-project/pull/180981 deedc7bfe315 [Flang][OpenMP] Don't generate code for unreachable target regions. https://github.com/llvm/llvm-project/pull/178937 0e7ddf395a12 [flang][OpenMP] Improve locality check when determining DSA https://github.com/llvm/llvm-project/pull/180583 7b9fd32daad8 [flang][OpenMP] Move resolution of common blocks to resolve-names.cpp https://github.com/llvm/llvm-project/pull/179669 7ccdc06780b0 [flang][OpenMP] Leave local automatic variables alone https://github.com/llvm/llvm-project/pull/178739 3bd664aeb8ba [OpenMPOpt] Add option to disable spmd conversion. https://github.com/ROCm/llvm-project/pull/1341 e0d922ee20e1 [flang][OpenMP] Add source range to construct scopes https://github.com/llvm/llvm-project/pull/179259 e553008914af [Flang] Fix type error when calling EXIT intrinsic https://github.com/llvm/llvm-project/pull/178688 c15853ec3a30 [OpenMP] Remove LLVM_ENABLE_PROJECTS=openmp build mode https://github.com/llvm/llvm-project/pull/176950 7c07cb6542a0 [MLIR][OpenMP] Fix recursive mapper emission. https://github.com/llvm/llvm-project/pull/178453 43108bf7bb0d [openmp] Build doxygen in bootstrapping builds https://github.com/llvm/llvm-project/pull/178298 4cc80831ea5d [MLIR][OpenMP] Simplify OpenMP device codegen https://github.com/llvm/llvm-project/pull/137201 1e4b4fa1b263 [Flang][OpenMP] Minimize host ops remaining in device compilation https://github.com/llvm/llvm-project/pull/137200 ac98916c482b [Flang][MLIR][OpenMP] Remove host MLIR ops from device compilation https://github.com/ROCm/llvm-project/pull/1235 9719c9a2dba7 [MLIR][OpenMP] Fix mapper being attached to partial maps. https://github.com/ROCm/llvm-project/pull/1258 df0c6f4caacb [OpenMP] Rename some data members in ConstructDecompositionT for clar… https://github.com/llvm/llvm-project/pull/178475 c856c3d04593 [MLIR][OpenMP] Fix mapper being attached to partial maps. https://github.com/llvm/llvm-project/pull/178247 dd76d3382c5b [OpenMP][docs] Revise building manual https://github.com/llvm/llvm-project/pull/176175 85812fde9e09 [Polly][DeLICM] Check for error state https://github.com/llvm/llvm-project/pull/178281 21b0fdf8ec70 [Flan][OpenMP] Implement TODO support for compatible defaultmap types for implicit mappers https://github.com/llvm/llvm-project/pull/177389 a73bdba2e80c [flang][OpenMP] Update semantic checks for LINEAR clause https://github.com/llvm/llvm-project/pull/177055 e74e97003664 [flang][OpenMP][DoConcurrent] Add `collapse` clause to generated `omp.loop_nest` op https://github.com/llvm/llvm-project/pull/178138 e5d235831dfb [Polly] Reject scalable vector types https://github.com/llvm/llvm-project/pull/177871 8dcc9b635504 [Polly] Update isl to isl-0.27 https://github.com/llvm/llvm-project/pull/177776 a16668a8d77c [Flang][OpenMP][MLIR] Align declare mapper pass handling with other map and global operations https://github.com/llvm/llvm-project/pull/176852 7a74e7fba33c [flang][OpenMP] Fix mapping of constant arrays. https://github.com/llvm/llvm-project/pull/176763 ab4f66d6f321 [OpenMP][flang] Move `todo` for checking reduction support status on the GPU https://github.com/llvm/llvm-project/pull/175172 50638e01e4cc [runtimes] Share doxygen handling with LLVM https://github.com/llvm/llvm-project/pull/176948 cf68af690ba7 [TableGen] Emit constexpr versions of some directive/clause functions https://github.com/llvm/llvm-project/pull/176253 4e4374886506 [flang][OpenACC] Fix link failure with BUILD_SHARED_LIBS=ON https://github.com/llvm/llvm-project/pull/176982 d542fac6b164 [flang] Add traits to more AST nodes https://github.com/llvm/llvm-project/pull/175578 53d9d46d7622 [flang][OpenMP] Allow assumed-size arrays on USE_DEVICE_ADDR clause https://github.com/llvm/llvm-project/pull/176815 b8fec8ebc632 [flang] Add traits to more AST nodes https://github.com/llvm/llvm-project/pull/175566 f7b5b670c1cf [OpenMP] Remove LLVM_ENABLE_PROJECTS=openmp build mode https://github.com/llvm/llvm-project/pull/174963 eb7adafc68dc [flang][OpenMP] Allow ALLOC/RELEASE in place of STORAGE in 6.0 https://github.com/llvm/llvm-project/pull/176810 dc9c08e6e008 [flang][debug] Generate DWARF debug info using fir.use_stmt. https://github.com/llvm/llvm-project/pull/168541 8ba629f8c33a [Flang][OpenMP] Permit EXTERNAL with DECLARE TARGET https://github.com/llvm/llvm-project/pull/176337 9f19d1895d37 [OpenMP] Fix truncation/extension bug when calling __kmpc_push_num_teams https://github.com/llvm/llvm-project/pull/173067 f8538803004d [Offload][CI] Convert openmp-offload-amdgpu staging bots to ScriptedBuilder https://github.com/llvm/llvm-project/pull/174991 a05f603c7124 [flang][Lower] Lower OmpDependClause to Depend or Doacross https://github.com/llvm/llvm-project/pull/175772 94cc82d742e5 [OpenMP] Remove special handling of implicit clauses in decomposition https://github.com/llvm/llvm-project/pull/174654 01e089ee5e6c [flang] Remove unnecessary overloads of Walk in parse tree visitor https://github.com/llvm/llvm-project/pull/175563 4f1ab334a4ba [flang] Visit "source" member in all AST nodes https://github.com/llvm/llvm-project/pull/175211 6bfa042a10a0 [flang][mlir] Add checks and test for linear clause on omp.wsloop and omp.simd https://github.com/llvm/llvm-project/pull/174916 e82399dac2f1 [flang][OpenMP] Prevent `omp.map.info` ops with user-defined mappers from being marked as parial maps https://github.com/llvm/llvm-project/pull/175133 568b8e4873b2 [flang] Add traits to several AST nodes https://github.com/llvm/llvm-project/pull/175065 20d0ec849804 [OpenMP] Remove LLVM_ENABLE_PROJECTS=openmp build mode https://github.com/llvm/llvm-project/pull/152189 af3a0e61f4e0 [Polly] Allow changing array dims when importing JScop https://github.com/llvm/llvm-project/pull/174582 75d8654c67a4 [Flang-RT] Add test dependency https://github.com/llvm/llvm-project/pull/174427 316a9c52f022 [flang] Ignore ambiguous use statement in use_stmt generation. https://github.com/llvm/llvm-project/pull/174387 57f15aef3aaa Cherry-pick llvm-project#150386 https://github.com/ROCm/llvm-project/pull/997 212527c00ba6 [Flang] Add FIR and LLVM lowering support for prefetch directive https://github.com/llvm/llvm-project/pull/167272 dae453ac2a35 [OpenMP][OMPIRBuilder] Hoist static parallel region allocas to the entry block on the CPU https://github.com/llvm/llvm-project/pull/174314 ccb47d0fb9d0 [OpenMP][MLIR] Hoist static `alloca`s emitted by private `init` regions to the allocation IP of the construct https://github.com/llvm/llvm-project/pull/171597 11d9694b757b [flang][mlir] Add support for implicit linearization in omp.simd https://github.com/llvm/llvm-project/pull/150386 fc9e6e13fd4b [flang] Represent use statement in fir. https://github.com/llvm/llvm-project/pull/168106 d49c75234c9a [flang][OpenMP] Allow INIT clause on DEPOBJ, add depinfo-modifier https://github.com/llvm/llvm-project/pull/173056