rust/tests/mir-opt/instsimplify
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
..
bool_compare.eq_false.InstSimplify.diff
bool_compare.eq_true.InstSimplify.diff
bool_compare.false_eq.InstSimplify.diff
bool_compare.false_ne.InstSimplify.diff
bool_compare.ne_false.InstSimplify.diff
bool_compare.ne_true.InstSimplify.diff
bool_compare.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
bool_compare.true_eq.InstSimplify.diff
bool_compare.true_ne.InstSimplify.diff
casts.redundant.InstSimplify.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
casts.roundtrip.InstSimplify.diff Ban ArrayToPointer and MutToConstPointer from runtime MIR 2024-06-19 10:44:01 -07:00
casts.rs Ban ArrayToPointer and MutToConstPointer from runtime MIR 2024-06-19 10:44:01 -07:00
combine_array_len.norm2.InstSimplify.panic-abort.diff
combine_array_len.norm2.InstSimplify.panic-unwind.diff
combine_array_len.rs rustfmt tests/mir-opt. 2024-06-03 14:17:16 +10:00
combine_clone_of_primitives.{impl#0}-clone.InstSimplify.panic-abort.diff FileCheck combine_clone_of_primitives. 2023-10-19 15:51:54 +00:00
combine_clone_of_primitives.{impl#0}-clone.InstSimplify.panic-unwind.diff FileCheck combine_clone_of_primitives. 2023-10-19 15:51:54 +00:00
combine_clone_of_primitives.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
combine_transmutes.adt_transmutes.InstSimplify.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
combine_transmutes.identity_transmutes.InstSimplify.diff FileCheck combine_transmutes. 2023-10-19 15:51:54 +00:00
combine_transmutes.integer_transmutes.InstSimplify.diff FileCheck combine_transmutes. 2023-10-19 15:51:54 +00:00
combine_transmutes.rs rustfmt tests/mir-opt. 2024-06-03 14:17:16 +10:00
duplicate_switch_targets.assert_zero.InstSimplify.diff FileCheck duplicate_switch_targets. 2023-10-19 15:51:54 +00:00
duplicate_switch_targets.rs Reformat mir! macro invocations to use braces. 2024-06-03 13:24:44 +10:00
intrinsic_asserts.generic_ref.InstSimplify.diff FileCheck intrinsic_asserts. 2023-10-19 15:51:54 +00:00
intrinsic_asserts.generic.InstSimplify.diff FileCheck intrinsic_asserts. 2023-10-19 15:51:54 +00:00
intrinsic_asserts.panics.InstSimplify.diff FileCheck intrinsic_asserts. 2023-10-19 15:51:54 +00:00
intrinsic_asserts.removable.InstSimplify.diff FileCheck intrinsic_asserts. 2023-10-19 15:51:54 +00:00
intrinsic_asserts.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
ref_of_deref.pointers.InstSimplify.diff Also InstSimplify &raw* 2024-05-30 22:05:30 -07:00
ref_of_deref.references.InstSimplify.diff Also InstSimplify &raw* 2024-05-30 22:05:30 -07:00
ref_of_deref.rs Also InstSimplify &raw* 2024-05-30 22:05:30 -07:00
ub_check.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
ub_check.unwrap_unchecked.InstSimplify.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00