diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-08-24 10:02:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 10:02:53 (GMT) |
commit | 420f39f457a97a9379f8423a81776bef428d0746 (patch) | |
tree | 9f82619ae6d7b39f3342f2b960240c6912447422 /Misc | |
parent | 6bda5b85b53443f3467865fbf85cbe72932e7cd6 (diff) | |
download | cpython-420f39f457a97a9379f8423a81776bef428d0746.zip cpython-420f39f457a97a9379f8423a81776bef428d0746.tar.gz cpython-420f39f457a97a9379f8423a81776bef428d0746.tar.bz2 |
gh-93678: add _testinternalcapi.optimize_cfg() and test utils for compiler optimization unit tests (GH-96007)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-08-15-20-52-41.gh-issue-93678.X7GuIJ.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-08-15-20-52-41.gh-issue-93678.X7GuIJ.rst b/Misc/NEWS.d/next/Core and Builtins/2022-08-15-20-52-41.gh-issue-93678.X7GuIJ.rst new file mode 100644 index 0000000..9e2b90b --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-08-15-20-52-41.gh-issue-93678.X7GuIJ.rst @@ -0,0 +1 @@ +Added test a harness for direct unit tests of the compiler's optimization stage. The ``_testinternalcapi.optimize_cfg()`` function runs the optimiser on a sequence of instructions. The ``CfgOptimizationTestCase`` class in ``test.support`` has utilities for invoking the optimizer and checking the output. |