Hello! I tried to take a look at https://github.com/rust-lang/rust/issues/46227
Its about adding test to check that bounds check are properly removed.
I though adding mir-opt test would be the right way to do it. Am i right?
@DPC if you are around :)
You'd need an LLVM IR test here since LLVM is what removes bounds checks
is there a guide of some kind for that? The rustc developer guide mentions https://llvm.org/docs/CommandGuide/FileCheck.html but i am a bit lost