about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJakob Degen <jakob.e.degen@gmail.com>2022-08-20 21:47:53 -0700
committerJakob Degen <jakob.e.degen@gmail.com>2022-09-01 23:01:53 -0700
commite5d60af3c6f44be48371e32ef553416d277c92ec (patch)
treea977da12f72f7265c0aff24547c4159be55f1bfc /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent10706d62da83c4ec215165bc72df46219536648f (diff)
downloadrust-e5d60af3c6f44be48371e32ef553416d277c92ec.tar.gz
rust-e5d60af3c6f44be48371e32ef553416d277c92ec.zip
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 result of the net result of the optimization pipeline's output
is.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions