rust/tests
Zalathar 527c629cd9 coverage: Explicitly simplify coverage expressions in codegen
After coverage instrumentation and MIR transformations, we can sometimes end up
with coverage expressions that always have a value of zero. Any expression
operand that refers to an always-zero expression can be replaced with a literal
`Operand::Zero`, making the emitted coverage mapping data smaller and simpler.

This simplification step is mostly redundant with the simplifications performed
inline in `expressions_with_regions`, except that it does a slightly more
thorough job in some cases (because it checks for always-zero expressions
*after* other simplifications).

However, adding this simplification step will then let us greatly simplify that
code, without affecting the quality of the emitted coverage maps.
2023-09-21 18:32:49 +10:00
..
assembly
auxiliary
codegen Auto merge of #115734 - tmiasko:kcfi-no-core, r=compiler-errors 2023-09-20 05:24:34 +00:00
codegen-units
coverage-map coverage: Explicitly simplify coverage expressions in codegen 2023-09-21 18:32:49 +10:00
debuginfo Auto merge of #115128 - davidtwco:re-enable-debuginfo-test, r=wesleywiser 2023-09-12 19:39:27 +00:00
incremental
mir-opt coverage: Remove debug code from the instrumentor 2023-09-20 17:24:10 +10:00
pretty Rework no_coverage to coverage(off) 2023-09-08 12:46:06 +01:00
run-coverage coverage: Regression test for inconsistent handling of closure spans 2023-09-18 22:33:05 +10:00
run-coverage-rustdoc Tidy up some awkwardly-placed comments in tests 2023-08-26 14:35:34 +10:00
run-make Auto merge of #115627 - compiler-errors:icedump-no-std, r=m-ou-se 2023-09-19 16:56:25 +00:00
run-make-fulldeps Remove EarlyErrorHandler argument from after_analysis callback 2023-09-10 09:44:03 +00:00
run-pass-valgrind
rustdoc Implement new eBNF for codeblock attributes 2023-09-15 21:32:28 +02:00
rustdoc-gui rustdoc: add test cases, and fix, search tabs 2023-09-19 21:46:06 -07:00
rustdoc-js rustdoc-search: fix bugs when unboxing and reordering combine 2023-09-09 16:58:37 -07:00
rustdoc-js-std rustdoc-search: fix bugs when unboxing and reordering combine 2023-09-09 16:58:37 -07:00
rustdoc-json Fix rustdoc-json tests 2023-08-23 11:52:49 -07:00
rustdoc-ui Update tests for custom classes 2023-09-19 17:29:39 +02:00
ui Auto merge of #115987 - loongarch-rs:fix-transparent-union-abi, r=bjorn3 2023-09-20 19:55:38 +00:00
ui-fulldeps Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber 2023-09-14 19:56:55 +00:00
COMPILER_TESTS.md