Closed
Description
Ever since our mir-opt tests were changed to auto-blessing, we no longer have a way to say "but this part of the output must definitely look like that". This makes tests a lot more fragile. We should re-add some infrastructure like that.
LLVM has FileCheck for this. We also had something like that for mir-opt tests that we could reinstate (I think it was adequate for this job, it just didn't work well for large chunks of code).
Cc @rust-lang/wg-mir-opt