Release notes

For information on available ROCm releases, please refer to the ROCm Release Notes

For information on available Radeon Software for Linux releases, please refer to Linux® Drivers for AMD Radeon™ and Radeon PRO™ Graphics.

LLVM Flang Drop 24.4.0 (11-Nov-2026)

Packages: https://repo.radeon.com/rocm/misc/flang

Install the following package (for all supported gfx targets):

wget https://repo.radeon.com/rocm/misc/flang/therock-afar-24.4.0-multiarch-10.3.0-a71da8f.tar.bz2

md5sum:

619aea5400b3a1d26995d492c5e9ede5  therock-afar-24.4.0-multiarch-10.3.0-a71da8f.tar.bz2

New functionality/fixes:

Known issues:

Other notes:

Patches of interest: (3ba19712e9fb...af5d6a979093)

9fc85b1c45d9 [flang][OpenMP][NFC] - Add combinatorial device tests for locality specifiers
https://github.com/llvm/llvm-project/pull/238979

bf6a8609cca6 [AMDGPU] Port VGPR-to-AGPR spill debug location fixes from amd-debug
https://github.com/ROCm/llvm-project/pull/5364
Fixes: ROCM-11083

f32ff7f1cd76 [OpenMP] Apply fixes to clause/directive descriptors
https://github.com/llvm/llvm-project/pull/240898

861d63009d07 [MLIR] Ensure that allocated memory is always freed
https://github.com/ROCm/llvm-project/pull/5137
Fixes: LCOMPILER-2309

4c6bf50c561f [Flang][NFC] Move code from header to .cpp
https://github.com/llvm/llvm-project/pull/239552

7b7fc1842296 [Flang][NFC] Remove unnecessary template instantiations
https://github.com/llvm/llvm-project/pull/239182

571ff3071774 [Flang][OpenMP] Warn about SAVE variables in MAP w/o ALWAYS modifier
https://github.com/llvm/llvm-project/pull/209134

4f2748f0ac25 [flang] Treat stack save/restore and fir.unreachable as not accessing memory
https://github.com/llvm/llvm-project/pull/239240

407178b8e5e6 [Flang][OpenMP] Flag for switching off implicit allocatable member mapping via default declare mapper
https://github.com/llvm/llvm-project/pull/228748

26ff0e1829fb [Flang][NFC] Remove trivial uses of SearchTypes
https://github.com/llvm/llvm-project/pull/238479

60fd9c780256 [Flang][NFC] Remove FOR_EACH_*_KIND macros
https://github.com/llvm/llvm-project/pull/238748

1f95d96995d7 [flang][OpenMP][NFC] Update do concurrent documentation
https://github.com/llvm/llvm-project/pull/238892

35863ac4b4e9 [flang][OpenMP] Add explicit SHARED locality specifier representation
https://github.com/llvm/llvm-project/pull/238039

1345653a1d6d [flang][OpenMP] Extract the declare-reduction op naming into helpers
https://github.com/llvm/llvm-project/pull/238846

a8967f92d4d6 [Flang][OpenMP][NFC] Remove some no longer used functions
https://github.com/llvm/llvm-project/pull/238036

0dc300dc1318 [flang][OpenMP] Improve diagnosing invalid operators in DECLARE_REDUCTION
https://github.com/llvm/llvm-project/pull/232353

132172ca211b [flang][debug] Leave the name table off by default
https://github.com/llvm/llvm-project/pull/236839

9343f8b1845f [flang] Cache in flang-licm which locations a loop may modify
https://github.com/llvm/llvm-project/pull/237562

cb20860bc31f [Flang] KIND De-templatization
https://github.com/llvm/llvm-project/pull/216960

90f8a7bcd982 [OpenMP] Add code owners for OpenMP runtime
https://github.com/llvm/llvm-project/pull/236211

b77090d12084 [flang][OpenMP] Deduplicate user-defined reduction declaration binding
https://github.com/llvm/llvm-project/pull/236228

4343046327dc [flang][OpenMP] Split processOpenMPReductionOperator by reduction-identifier form
https://github.com/llvm/llvm-project/pull/236227

530e9be2aac2 [flang][OpenMP] Extract processOpenMPReductionOperator from processReductionArguments
https://github.com/llvm/llvm-project/pull/236226

9172b703da1e [OpenMP] Unify Version with directive::VersionRange
https://github.com/llvm/llvm-project/pull/236090

b29cf777affc [OpenMP] Switch the underlying type of VersionRange to unsigned
https://github.com/llvm/llvm-project/pull/236089

faba310ff3e7 [AVR] Fix BUILD_SHARED_LIBS build
https://github.com/llvm/llvm-project/pull/236571

45604e53d1eb [flang][debug] Use DW_OP_LLVM_offset for descriptor fields on AMDGPU
https://github.com/ROCm/llvm-project/pull/5047

4a0ac4444cfc [AMDGPU][NFC] Fix unused variable warning in builds without assertions
https://github.com/llvm/llvm-project/pull/236497

ba09b3041fcd [AMDGPU] Fix invalid CFI when a prologue copies a register to a VCC half
https://github.com/llvm/llvm-project/pull/236119

577fd3c8c730 [flang][OpenMP] Implement LOCAL_INIT support in do concurrent to OpenMP conversion
https://github.com/llvm/llvm-project/pull/234925

2566fe69a14e [OpenMP] Replace cast operator with member function
https://github.com/llvm/llvm-project/pull/236088

0faf6dfb33fe [flang] Do not hoist loop-like operations in LICM
https://github.com/llvm/llvm-project/pull/236056

262c44617e23 [Flang][OpenMP] Fix three xfails
https://github.com/ROCm/llvm-project/pull/5138

eb8496ae0686 [OpenMP] Add definition of task_iteration directive
https://github.com/llvm/llvm-project/pull/235293

8a85e4a588d8 [OpenMP] Add definition of begin/end metadirective
https://github.com/llvm/llvm-project/pull/235286

44cab84d78b1 [flang][OpenMP] Switch clause verification to descriptor-based
https://github.com/llvm/llvm-project/pull/229527

05d8ce0bf5a8 [AMDGPU][NFC] Remove XFAIL that is no longer required.
https://github.com/ROCm/llvm-project/pull/5128

a48ab421cf08 [Flang][test] Use x86 triple
https://github.com/llvm/llvm-project/pull/235354

60c2f3eb1591 [runtimes][Fortran] No introspection in bootstrapping build
https://github.com/llvm/llvm-project/pull/234424

e26ef7c016b7 [Flang][test] Fix feature spelling
https://github.com/llvm/llvm-project/pull/235068

c98037c3a875 [OpenMP][OMPTarget] Avoid Shadow Pointer post-processing for TO transfers unless required
https://github.com/llvm/llvm-project/pull/229966

d3986bf9a717 [flang][docs] Relax {}-initialization rule for objects declared with auto
https://github.com/llvm/llvm-project/pull/234673

281a0db4c42f [Flang][OpenMP] Fix OpenMP data-mapping stride calculation
https://github.com/llvm/llvm-project/pull/225653

0a00890f6ce9 [flang] Move the mangling/demangling helpers into Semantics/tools
https://github.com/llvm/llvm-project/pull/232352

23316504ebf6 [OpenMP][flang] Fix location of reducing worksharing constructs.
https://github.com/llvm/llvm-project/pull/233934

df547465c388 [Flang] Fix BUILD_SHARED_LIBS build
https://github.com/llvm/llvm-project/pull/234327

a630b3566e7d [Flang] Introduce *Value classes with unittests
https://github.com/llvm/llvm-project/pull/216958

d169e9baea06 [Flang] Avoid deep template recursion
https://github.com/llvm/llvm-project/pull/233865

025e9a1d79af [flang-rt] Fix BACKSPACE crash on files without trailing newline
https://github.com/llvm/llvm-project/pull/227661
Fixes: SWLCSG-4781

c6f47b237605 [Flang][OpenMP] Fix some xfails in Flang
https://github.com/ROCm/llvm-project/pull/5048

e67b241027f3 [flang][OpenMP] Make sure that exec METADIRECTIVE is in execution part
https://github.com/llvm/llvm-project/pull/233147

c9f4a9e8023b [flang][FIRToMemRef] Propagate nontemporal to the memref ops
https://github.com/llvm/llvm-project/pull/233420

cbe76c2fd8ab [flang][OpenMP] Improve diagnostics about modifier properties
https://github.com/llvm/llvm-project/pull/229526

a1787b5db15a [OpenMP][lit] Disable flaky tasking/issue-94260-2.c on s390x too
https://github.com/llvm/llvm-project/pull/233384

8efc412af612 [flang][debug] Place prologue_end on the first executable statement
https://github.com/llvm/llvm-project/pull/232025

0566bfbe2e65 [OpenMP] Move constant size allocas in the entry block.
https://github.com/llvm/llvm-project/pull/231907

059577967e64 [flang][OpenMP] Account for using different versions for modifier checks
https://github.com/llvm/llvm-project/pull/229525

608fabba8ad1 [flang][OpenMP] Create generic interfaces for "container" entities
https://github.com/llvm/llvm-project/pull/229524

87a2d1e32491 [flang][OpenMP] Properly use GetAllowedElements
https://github.com/llvm/llvm-project/pull/229523

5ca62fdee645 [flang][OpenMP] Ignore DECLARE_SIMD and warn about missing implementa...
https://github.com/llvm/llvm-project/pull/232712

ce640be2c45a [flang][OpenMP] Simplify some code with parser::Unwrap, NFC
https://github.com/llvm/llvm-project/pull/233113

27ab51e1a7d5 [flang][OpenMP] Utility and declarative dir's are not constructs, NFC
https://github.com/llvm/llvm-project/pull/232917

6c930d2608ba [flang][OpenMP] Move CanonicalizationOfOmp member definitions out of...
https://github.com/llvm/llvm-project/pull/232872

b3683901dd49 [CIR][OpenMP] Fix test broken by #218453 for preserving host capture lifetimes
https://github.com/llvm/llvm-project/pull/232840

6f03a15a531b [OpenMP] Introduce descriptors for directives, clause groups and sets
https://github.com/llvm/llvm-project/pull/229522

98e07f33a198 [flang][debug] Name real and complex types by their kind
https://github.com/llvm/llvm-project/pull/232259

1e96145b2c58 [OpenMP][MLIR] Build the debug expressions of a device function in one place.
https://github.com/ROCm/llvm-project/pull/2179
Fixes: LCOMPILER-2809

533c70ff9aaa [Flang] Introduce common::numeric_limits
https://github.com/llvm/llvm-project/pull/228108

8c24db69052a [Flang][OpenMP] Fix sneaky bit of upstream code
https://github.com/ROCm/llvm-project/pull/4963

53d096bbf31d [flang][OpenMP] Fix verification of REF modifier on LINEAR clause
https://github.com/llvm/llvm-project/pull/232367

f32db5597b51 [flang][debug] Keep the bounds of variables in stack slots at -O0.
https://github.com/llvm/llvm-project/pull/229876

32932727b33e [flang][semantics] Reject DATA-style initializer on EXTERNAL/INTRINSIC
https://github.com/llvm/llvm-project/pull/222256

531bd6fcaa07 [Clang][Driver] Fix inverted diagnostic condition
https://github.com/llvm/llvm-project/pull/225640

4660019bb90d [NFC][clang][Modules] Add regression test for implicit lambda capture from merged module copies
https://github.com/llvm/llvm-project/pull/222020

468511bd146d [Flang][OpenMP] Fix regression from merge
https://github.com/ROCm/llvm-project/pull/4855

7016730d795c [flang] Take the debug record's location from the declaration.
https://github.com/llvm/llvm-project/pull/229484

adb24333dee0 [flang][Parser] Make CharBlock inherit from llvm::StringRef
https://github.com/llvm/llvm-project/pull/228482

0c2808031a72 [flang][OpenMP] Perform checks on features from different versions
https://github.com/llvm/llvm-project/pull/229116

ed390ca4d61b [flang][OpenMP] Remove unnecessary check for extension clauses
https://github.com/llvm/llvm-project/pull/228878

1f1a5b38374a [flang][OpenMP] Remember decision of allowing past/future clause
https://github.com/llvm/llvm-project/pull/227419

284afa9de7ed [flang][OpenMP] Move leftover functions from structure to loop, NFC
https://github.com/llvm/llvm-project/pull/228705

4aaffe88596a [Flang][OpenMP] Reset REQUIRES directive with new program unit
https://github.com/llvm/llvm-project/pull/227829

6f88885684b0 [Flang][MLIR] Fix reset for OpenMP dyn_groupprivate clause
https://github.com/llvm/llvm-project/pull/228177

7533de7a1400 [flang] Pass llvm::StringRef directly to message formatting
https://github.com/llvm/llvm-project/pull/228449

82db5839b226 [Flang][OpenMP] Preserve absent OPTIONAL arguments in target mappings
https://github.com/llvm/llvm-project/pull/227343

7e04d1b56db2 [flang][OpenMP] Improve check for LINEAR and ORDERED with argument
https://github.com/llvm/llvm-project/pull/228235

839d60d83cf9 [CIR][OpenMP] Add support for combined target parallel directives
https://github.com/llvm/llvm-project/pull/207019

db77a4618df7 [flang][OpenMP] Simplify uses of llvm::omp::EnumSet a bit, NFC
https://github.com/llvm/llvm-project/pull/228142

d0c882a37955 [flang][codegen] Report a shape or slice cg-rewrite cannot read
https://github.com/llvm/llvm-project/pull/227625

4eb6e48a9882 [OpenMP] Fix missing implicit barriers in device worksharing loops
https://github.com/llvm/llvm-project/pull/227735

66008b77b133 [OpenMP] Add default value for Size argument in EnumSet
https://github.com/llvm/llvm-project/pull/227853

f0fe3b560a79 [flang] Let a directive keep the loop it owns when its body branches
https://github.com/llvm/llvm-project/pull/227707

fa7903e9e206 [OpenMP] Allow overriding clause-allowed-on-directive in decomposition
https://github.com/llvm/llvm-project/pull/227418

a4aea75c4431 [flang][codegen] Rebuild compile-time-only block arguments in cg-rewrite
https://github.com/llvm/llvm-project/pull/227624

bdf5228e7a3d [flang][cuda] Record implicit pinned attribution in module files
https://github.com/llvm/llvm-project/pull/225315

a651871a3f3f [flang] Keep a loop unstructured when its END DO is branched to from outside
https://github.com/llvm/llvm-project/pull/227597

c0099a3057b9 [Flang][OpenMP] Fix MLIR xfails
https://github.com/ROCm/llvm-project/pull/4728

7bb059d7c6fd [OpenMP] Fix descriptor allocation for absent optional arrays
https://github.com/llvm/llvm-project/pull/227082

b3b5e3303fda [flang] Lower loops whose branching is confined to their body structurally
https://github.com/llvm/llvm-project/pull/225758

7fb36ba33486 [flang] Detect loops whose branching is confined to their body
https://github.com/llvm/llvm-project/pull/225757

57012c694b24 [CIR] Fix order of creation so that lit test will not fail
https://github.com/llvm/llvm-project/pull/226706

2d254ab1e39a [flang] Record the evaluations that branch to each evaluation
https://github.com/llvm/llvm-project/pull/225755

5d8b5942fa59 [OpenMP] Update modifier set properties on some clauses
https://github.com/llvm/llvm-project/pull/226508

cf5a39d92984 [OpenMP] Add/update descriptors for extension clauses
https://github.com/llvm/llvm-project/pull/226509

ee3b6b045bc3 [Flang][OpenMP] Fix broken offload test caused by MapInfoFinalization code movement
https://github.com/llvm/llvm-project/pull/226384

9de286c070e3 [flang][OpenMP] Rename some symbols in check-omp-syntax.cpp
https://github.com/llvm/llvm-project/pull/226484

dc744d9839ca [flang][debug] Describe submodules in the debug info
https://github.com/llvm/llvm-project/pull/225852

a33352ddde6d [CodeExtractor] Preserve the original DIExpression for extracted inputs.
https://github.com/llvm/llvm-project/pull/224360

f96febaf2701 [flang][cuda] Share the managed companion pointer across translation units
https://github.com/llvm/llvm-project/pull/225710

a60626ab1223 [flang][debug] Emit debug for a COMMON block from an INCLUDE'd file
https://github.com/llvm/llvm-project/pull/225867

04fe618233c1 [lldb] Add Options to LINK_COMPONENTS
https://github.com/llvm/llvm-project/pull/225684

37d97297fd3f [Flang] Restrict the scalar destruction fast path to rank-zero components
https://github.com/llvm/llvm-project/pull/224345

dd33f57479c1 [Flang][Driver] Added support for -funique-internal-linkage-names option
https://github.com/llvm/llvm-project/pull/216680

141a9763fff5 Revert "[clang][OpenMP] ORDERED clause is allowed on FOR in 4.5+ (#22...
https://github.com/llvm/llvm-project/pull/225669

21ca7b6617bb [flang][docs] Fix spelling typo in FlangDriver.md
https://github.com/llvm/llvm-project/pull/219391

7ecac8052859 [flang][debug] Emit debug info for procedures from an INCLUDE'd file.
https://github.com/llvm/llvm-project/pull/225068

5791e2f443d2 [flang][OpenMP] Add -fopenmp-version flag to several tests
https://github.com/llvm/llvm-project/pull/224934

40eebbbf8a8a [flang][OpenMP] Annotate some directive and clause names
https://github.com/llvm/llvm-project/pull/225210

a2ff3cc78a3f [flang][OpenMP] NONTEMPORAL clause is allowed on DO SIMD in 5.0+
https://github.com/llvm/llvm-project/pull/225082

11b427b038a3 [flang][cuda] Record implicit managed attribution in module files
https://github.com/llvm/llvm-project/pull/224601

750b967f7bf8 [flang][debug] Do not scope device subprograms at the host procedure.
https://github.com/llvm/llvm-project/pull/225121

b0d31f40189d [clang][OpenMP] ORDERED clause is allowed on FOR in 4.5+
https://github.com/llvm/llvm-project/pull/225106

ea3d7807a4d9 [AMDGPU][debug] Describe a frame index in the stack address space.
https://github.com/ROCm/llvm-project/pull/4501

b569f8d694e9 [Flang][FIR] Handle SequenceTypes in isRecordWithAllocatableMember
https://github.com/llvm/llvm-project/pull/224048

c1324c4b3404 [flang][cuda] Implicitly attribute ALLOCATABLE/POINTER components as managed
https://github.com/llvm/llvm-project/pull/223087

aba79e62699d [Flang][OpenMP] Improve use_device_addr code generation
https://github.com/llvm/llvm-project/pull/221265
Fixes: LCOMPILER-1632

e5f70530b729 [ELF] Restore upstream's --no-undefined-version default
https://github.com/ROCm/llvm-project/pull/4065

9a3d449079fc [Flang][Driver]Implemented the support for option -f[no-]optimize-sibling-calls in Flang
https://github.com/llvm/llvm-project/pull/216650