Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions llvm/docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,26 @@ Makes programs 10x faster by doing Special New Thing.

### Changes to the LLVM IR

* LLVM now assigns persistent print IDs to metadata nodes. Reusing these IDs
avoids repeated module-wide scans to rebuild metadata numbering, which can
significantly speed up debug and pass printing on large modules. Keeping
the IDs stable also makes repeated output easier to compare: unchanged
metadata keeps the same number as passes modify the module. The numbering
and definition order can differ from earlier releases, so tests of
intermediate output may need updated expectations.

LLVM's standard final-output paths renumber metadata in canonical order.
This gives consecutive IDs with no gaps and makes the final IR easier to
read. C++ clients that call `Module::print()` directly do not renumber
automatically. For final IR output, these clients should call
`Module::renumberMetadataForAssembly()` immediately before printing. Keep
persistent IDs for intermediate dumps so their numbering remains stable.

Standalone metadata printing now uses numbered definitions such as
`!1 = !DIFile(...)` instead of pointer-based forms such as
`<0x...> = !DIFile(...)`. Tools and tests that compare such output may need
updating.

* Added `llvm.vector.reduce.fmaximumnum` and `llvm.vector.reduce.fminimumnum`
intrinsics, the reduction variants of `llvm.maximumnum` and
`llvm.minimumnum`.
Expand Down
Loading