From 8e51737a0bfed13dbb89bee949e17523562d2a1b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 9 Feb 2017 23:25:27 +0000 Subject: [PATCH] ReleaseNotes.rst: Add a section about .mir testing git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@294656 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ReleaseNotes.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 38c9c887d50..4c6bd1807af 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -75,6 +75,21 @@ Non-comprehensive list of changes in this release * Significant build-time and binary-size improvements when compiling with debug info (-g). +Code Generation Testing +----------------------- + +Passes that work on the machine instruction representation can be tested with +the .mir serialization format. ``llc`` supports the ``-run-pass``, +``-stop-after``, ``-stop-before``, ``-start-after``, ``-start-before`` to to +run a single pass of the code generation pipeline, or to stop or start the code +generation pipeline at a given point. + +Additional information can be found in the :doc:`MIRLangRef`. The format is +used by the tests ending in ``.mir`` in the ``test/CodeGen`` directory. + +This feature is available since 2015. It is used more often lately and was not +mentioned in the release notes yet. + Intrusive list API overhaul --------------------------- -- 2.40.0