Stream: t-compiler/help

Topic: Adding mir-opt test


marmeladema (May 02 2020 at 15:20, on Zulip):

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?

marmeladema (May 02 2020 at 15:27, on Zulip):

@DPC if you are around :)

DPC (May 02 2020 at 15:28, on Zulip):

sure xD

marmeladema (May 02 2020 at 15:28, on Zulip):

haha

Jonas Schievink (May 02 2020 at 15:28, on Zulip):

You'd need an LLVM IR test here since LLVM is what removes bounds checks

marmeladema (May 02 2020 at 15:28, on Zulip):

oh thanks

marmeladema (May 02 2020 at 15:34, on Zulip):

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

Last update: Sep 28 2020 at 15:30UTC