X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fmir-opt%2Fconst_prop%2Fslice_len.rs;h=8183def0c63dbda29ffd08a43dd70fa1fb8cfcfb;hb=dc3e59cb3fe05ebd752d3a2269f501c00327be22;hp=eaaf34b960eb66a84bd0ef5f43aa95c3b26e3bcc;hpb=720137b5da252d1948fb776827ea49b1842d1fdf;p=rust.git diff --git a/tests/mir-opt/const_prop/slice_len.rs b/tests/mir-opt/const_prop/slice_len.rs index eaaf34b960e..8183def0c63 100644 --- a/tests/mir-opt/const_prop/slice_len.rs +++ b/tests/mir-opt/const_prop/slice_len.rs @@ -1,4 +1,5 @@ -// compile-flags: -Zmir-enable-passes=-SimplifyLocals-before-const-prop +// unit-test: ConstProp +// compile-flags: -Zmir-enable-passes=+InstCombine // EMIT_MIR_FOR_EACH_BIT_WIDTH // EMIT_MIR slice_len.main.ConstProp.diff