summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_prop/slice_len.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/const_prop/slice_len.rs')
-rw-r--r--tests/mir-opt/const_prop/slice_len.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/slice_len.rs b/tests/mir-opt/const_prop/slice_len.rs
index eaaf34b96..8183def0c 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