rust/src/test/mir-opt/const_prop
Wesley Wiser c06876c904 [const-prop] Remove ConstPropMode::NoPropagation
This mode is unnecessary because it's always ok to evaluate the
right-hand side of assignments even if the left-hand side should not
have reads propagated.
2020-06-15 21:09:47 -04:00
..
aggregate Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
array_index Clear MIR local type annotations after borrowck 2020-05-24 04:15:23 +02:00
bad_op_div_by_zero Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
bad_op_mod_by_zero Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
bad_op_unsafe_oob_for_slices Clear MIR local type annotations after borrowck 2020-05-24 04:15:23 +02:00
boxes Revert "Bless mir-opt tests" 2020-06-04 11:29:10 -04:00
cast Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
checked_add Clear MIR local type annotations after borrowck 2020-05-24 04:15:23 +02:00
const_prop_fails_gracefully Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
control-flow-simplification Renamed "undef" stuff to "uninit" 2020-05-07 11:27:29 -04:00
discriminant Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
indirect Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
issue-66971 Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
issue-67019 Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
mutable_variable [const-prop] Don't replace Rvalues that are already constants 2020-05-14 19:07:44 -04:00
mutable_variable_aggregate [const-prop] Don't replace Rvalues that are already constants 2020-05-14 19:07:44 -04:00
mutable_variable_aggregate_mut_ref [const-prop] Remove ConstPropMode::NoPropagation 2020-06-15 21:09:47 -04:00
mutable_variable_aggregate_partial_read Clear MIR local type annotations after borrowck 2020-05-24 04:15:23 +02:00
mutable_variable_no_prop Pointer printing: do not print 0 offset 2020-05-12 13:30:50 +02:00
mutable_variable_unprop_assign Clear MIR local type annotations after borrowck 2020-05-24 04:15:23 +02:00
optimizes_into_variable Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
read_immutable_static Pointer printing: do not print 0 offset 2020-05-12 13:30:50 +02:00
ref_deref Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
ref_deref_project Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
reify_fn_ptr Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
repeat Clear MIR local type annotations after borrowck 2020-05-24 04:15:23 +02:00
return_place Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
scalar_literal_propagation Added MIR constant propagation of Scalars into function call arguments 2020-05-02 00:40:03 -04:00
slice_len Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
switch_int Emit basic block ids for statements and terminators in MIR only in -Zverbose mode 2020-04-27 15:16:12 +02:00
tuple_literal_propagation Allow Locals to be propagated into and from, but restricted to their own block 2020-04-28 00:44:50 -04:00
aggregate.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
array_index.rs Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. 2020-04-07 17:49:14 +00:00
bad_op_div_by_zero.rs Added MIR const-prop diff tests to show why some assertions now fail at compile-time 2020-04-28 00:53:44 -04:00
bad_op_mod_by_zero.rs Added MIR const-prop diff tests to show why some assertions now fail at compile-time 2020-04-28 00:53:44 -04:00
bad_op_unsafe_oob_for_slices.rs Added MIR const-prop diff tests to show why some assertions now fail at compile-time 2020-04-28 00:53:44 -04:00
boxes.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
cast.rs Enable --blessing of MIR dumps 2020-03-26 15:26:33 +01:00
checked_add.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
const_prop_fails_gracefully.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
control-flow-simplification.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
discriminant.rs Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. 2020-04-07 17:49:14 +00:00
indirect.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
issue-66971.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
issue-67019.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
mutable_variable_aggregate_mut_ref.rs Const prop aggregates even if partially or fully modified 2020-05-06 19:36:08 +02:00
mutable_variable_aggregate_partial_read.rs Add a repro example for not propagating constants of partially const initialized variables 2020-05-12 12:55:55 +02:00
mutable_variable_aggregate.rs Const prop aggregates even if partially or fully modified 2020-05-06 19:36:08 +02:00
mutable_variable_no_prop.rs Const prop aggregates even if partially or fully modified 2020-05-06 19:36:08 +02:00
mutable_variable_unprop_assign.rs Add some more sanity tests and add a debug log message for it 2020-05-12 13:23:01 +02:00
mutable_variable.rs Const prop aggregates even if partially or fully modified 2020-05-06 19:36:08 +02:00
optimizes_into_variable.rs Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. 2020-04-07 17:49:14 +00:00
read_immutable_static.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
ref_deref_project.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
ref_deref.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
reify_fn_ptr.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
repeat.rs Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. 2020-04-07 17:49:14 +00:00
return_place.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
scalar_literal_propagation.rs Added regression test for literal propagation and for scalar pair propagation 2020-04-27 20:13:16 -04:00
slice_len.rs Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. 2020-04-07 17:49:14 +00:00
switch_int.rs --bless more mir-opt tests. 2020-04-07 17:49:14 +00:00
tuple_literal_propagation.rs Added regression test for literal propagation and for scalar pair propagation 2020-04-27 20:13:16 -04:00