[llvm-branch-commits] [llvm-branch] r294656 - ReleaseNotes.rst: Add a section about .mir testing

Matthias Braun via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 9 15:25:27 PST 2017


Author: matze
Date: Thu Feb  9 17:25:27 2017
New Revision: 294656

URL: http://llvm.org/viewvc/llvm-project?rev=294656&view=rev
Log:
ReleaseNotes.rst: Add a section about .mir testing

Modified:
    llvm/branches/release_40/docs/ReleaseNotes.rst

Modified: llvm/branches/release_40/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_40/docs/ReleaseNotes.rst?rev=294656&r1=294655&r2=294656&view=diff
==============================================================================
--- llvm/branches/release_40/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_40/docs/ReleaseNotes.rst Thu Feb  9 17:25:27 2017
@@ -75,6 +75,21 @@ Non-comprehensive list of changes in thi
    * 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
 ---------------------------
 




More information about the llvm-branch-commits mailing list