rust/tests/mir-opt/dataflow-const-prop
Scott McMurray 4630d1b23b Ban ArrayToPointer and MutToConstPointer from runtime MIR
Apparently MIR borrowck cares about at least one of these for checking variance.

In runtime MIR, though, there's no need for them as `PtrToPtr` does the same thing.

(Banning them simplifies passes like GVN that no longer need to handle multiple cast possibilities.)
2024-06-19 10:44:01 -07:00
..
array_index.main.DataflowConstProp.32bit.panic-abort.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
array_index.main.DataflowConstProp.32bit.panic-unwind.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
array_index.main.DataflowConstProp.64bit.panic-abort.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
array_index.main.DataflowConstProp.64bit.panic-unwind.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
array_index.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
boolean_identities.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
boolean_identities.test.DataflowConstProp.diff Implement algebraic simplifications. 2023-09-06 15:57:50 +00:00
cast.main.DataflowConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cast.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
checked.main.DataflowConstProp.panic-abort.diff Remove Rvalue::CheckedBinaryOp 2024-05-17 20:33:02 -07:00
checked.main.DataflowConstProp.panic-unwind.diff Remove Rvalue::CheckedBinaryOp 2024-05-17 20:33:02 -07:00
checked.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
default_boxed_slice.main.DataflowConstProp.32bit.panic-abort.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
default_boxed_slice.main.DataflowConstProp.32bit.panic-unwind.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
default_boxed_slice.main.DataflowConstProp.64bit.panic-abort.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
default_boxed_slice.main.DataflowConstProp.64bit.panic-unwind.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
default_boxed_slice.main.GVN.32bit.panic-abort.diff Ban ArrayToPointer and MutToConstPointer from runtime MIR 2024-06-19 10:44:01 -07:00
default_boxed_slice.main.GVN.32bit.panic-unwind.diff Ban ArrayToPointer and MutToConstPointer from runtime MIR 2024-06-19 10:44:01 -07:00
default_boxed_slice.main.GVN.64bit.panic-abort.diff Ban ArrayToPointer and MutToConstPointer from runtime MIR 2024-06-19 10:44:01 -07:00
default_boxed_slice.main.GVN.64bit.panic-unwind.diff Ban ArrayToPointer and MutToConstPointer from runtime MIR 2024-06-19 10:44:01 -07:00
default_boxed_slice.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
enum.constant.DataflowConstProp.32bit.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
enum.constant.DataflowConstProp.64bit.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
enum.multiple.DataflowConstProp.32bit.diff Start blocks eagerly 2024-02-12 17:37:05 +01:00
enum.multiple.DataflowConstProp.64bit.diff Start blocks eagerly 2024-02-12 17:37:05 +01:00
enum.mutate_discriminant.DataflowConstProp.32bit.diff Duplicate output for test. 2023-09-11 16:29:42 +00:00
enum.mutate_discriminant.DataflowConstProp.64bit.diff Duplicate output for test. 2023-09-11 16:29:42 +00:00
enum.rs rustfmt tests/mir-opt. 2024-06-03 14:17:16 +10:00
enum.simple.DataflowConstProp.32bit.diff Start blocks eagerly 2024-02-12 17:37:05 +01:00
enum.simple.DataflowConstProp.64bit.diff Start blocks eagerly 2024-02-12 17:37:05 +01:00
enum.statics.DataflowConstProp.32bit.diff Start blocks eagerly 2024-02-12 17:37:05 +01:00
enum.statics.DataflowConstProp.64bit.diff Start blocks eagerly 2024-02-12 17:37:05 +01:00
if.main.DataflowConstProp.diff lower ExprKind::Use, LogicalOp::Or and UnOp::Not 2023-08-30 17:24:10 +08:00
if.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
inherit_overflow.main.DataflowConstProp.panic-abort.diff Remove Rvalue::CheckedBinaryOp 2024-05-17 20:33:02 -07:00
inherit_overflow.main.DataflowConstProp.panic-unwind.diff Remove Rvalue::CheckedBinaryOp 2024-05-17 20:33:02 -07:00
inherit_overflow.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
issue_81605.f.DataflowConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_81605.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
large_array_index.main.DataflowConstProp.32bit.panic-abort.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
large_array_index.main.DataflowConstProp.32bit.panic-unwind.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
large_array_index.main.DataflowConstProp.64bit.panic-abort.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
large_array_index.main.DataflowConstProp.64bit.panic-unwind.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
large_array_index.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
mult_by_zero.rs rustfmt tests/mir-opt. 2024-06-03 14:17:16 +10:00
mult_by_zero.test.DataflowConstProp.diff Implement algebraic simplifications. 2023-09-06 15:57:50 +00:00
offset_of.concrete.DataflowConstProp.panic-abort.diff Update mir-opt tests, add proper regression test 2024-04-28 21:10:09 +01:00
offset_of.concrete.DataflowConstProp.panic-unwind.diff Update mir-opt tests, add proper regression test 2024-04-28 21:10:09 +01:00
offset_of.generic.DataflowConstProp.panic-abort.diff Update mir-opt tests, add proper regression test 2024-04-28 21:10:09 +01:00
offset_of.generic.DataflowConstProp.panic-unwind.diff Update mir-opt tests, add proper regression test 2024-04-28 21:10:09 +01:00
offset_of.rs Update mir-opt tests, add proper regression test 2024-04-28 21:10:09 +01:00
ref_without_sb.main.DataflowConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
ref_without_sb.main.DataflowConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
ref_without_sb.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
repeat.main.DataflowConstProp.32bit.panic-abort.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
repeat.main.DataflowConstProp.32bit.panic-unwind.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
repeat.main.DataflowConstProp.64bit.panic-abort.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
repeat.main.DataflowConstProp.64bit.panic-unwind.diff Propagate PlaceElem::Index. 2023-09-06 16:09:31 +00:00
repeat.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
repr_transparent.main.DataflowConstProp.diff Use a ConstValue instead. 2023-10-21 16:26:05 +00:00
repr_transparent.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
self_assign_add.main.DataflowConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
self_assign_add.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
self_assign.main.DataflowConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
self_assign.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
sibling_ptr.main.DataflowConstProp.panic-abort.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
sibling_ptr.main.DataflowConstProp.panic-unwind.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
sibling_ptr.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
slice_len.main.DataflowConstProp.32bit.panic-abort.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
slice_len.main.DataflowConstProp.32bit.panic-unwind.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
slice_len.main.DataflowConstProp.64bit.panic-abort.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
slice_len.main.DataflowConstProp.64bit.panic-unwind.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
slice_len.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
struct.main.DataflowConstProp.32bit.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
struct.main.DataflowConstProp.64bit.diff MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
struct.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
terminator.main.DataflowConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
terminator.main.DataflowConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
terminator.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
transmute.from_char.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.from_char.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.invalid_bool.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.invalid_bool.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.invalid_char.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.invalid_char.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.less_as_i8.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.less_as_i8.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.rs rustfmt tests/mir-opt. 2024-06-03 14:17:16 +10:00
transmute.undef_union_as_integer.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.undef_union_as_integer.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_box.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_box.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_direct.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_direct.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_mut.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_mut.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_ref.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.unreachable_ref.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.valid_char.DataflowConstProp.32bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
transmute.valid_char.DataflowConstProp.64bit.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
tuple.main.DataflowConstProp.32bit.diff Use a ConstValue instead. 2023-10-21 16:26:05 +00:00
tuple.main.DataflowConstProp.64bit.diff Use a ConstValue instead. 2023-10-21 16:26:05 +00:00
tuple.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00