diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-09-02 11:34:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-02 11:34:50 +0200 |
| commit | 203526e576935c75b5ca23a490ea53cee361079c (patch) | |
| tree | f1b253415c04376dcd26bfb986e9af6f55253e2b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | edf79cb86b5f1e4d2f242c631909a3a6c9eebfa0 (diff) | |
| parent | e5d60af3c6f44be48371e32ef553416d277c92ec (diff) | |
| download | rust-203526e576935c75b5ca23a490ea53cee361079c.tar.gz rust-203526e576935c75b5ca23a490ea53cee361079c.zip | |
Rollup merge of #100827 - JakobDegen:better-tests, r=wesleywiser
Simplify MIR opt tests This commit removes many cases of MIR opt tests emitting `.diff`s for more than one pass. These tests cannot be `unit-test`s, and so they are easy to break, and they also provide little value due to having excessively strong opinions over *how* a piece of code should be optimized. Where reasonable, we instead add separate test files that only emit the `PreCodegen.after` MIR for code where we want to track what the end to end effect of the optimization pipeline on the example code is. r? `````@wesleywiser`````
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
