rust/tests/mir-opt/instsimplify
Nicholas Nethercote c9c80d2c5f rustfmt tests/mir-opt.
The only non-obvious changes:
- `building/storage_live_dead_in_statics.rs` has a `#[rustfmt::skip]`
  attribute to avoid reformating a table of data.
- Two `.mir` files have slight changes involving line numbers.
- In `unusual_item_types.rs` an `EMIT_MIR` annotation is moved to
  outside a function, which is the usual spot, because `tidy` complains
  if such a comment is indented.

The commit also tweaks the comments in `rustfmt.toml`.
2024-06-03 14:17:16 +10:00
..
bool_compare.eq_false.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
bool_compare.eq_true.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
bool_compare.false_eq.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
bool_compare.false_ne.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
bool_compare.ne_false.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
bool_compare.ne_true.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
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 FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
bool_compare.true_ne.InstSimplify.diff FileCheck bool_compare. 2023-10-19 15:51:53 +00:00
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 Never consider raw pointer casts to be trival 2023-10-25 23:15:18 +02:00
casts.rs InstSimplify from_raw_parts(p, ())p as _ 2024-04-21 11:08:37 -07:00
combine_array_len.norm2.InstSimplify.panic-abort.diff FileCheck combine_array_len. 2023-10-19 15:51:53 +00:00
combine_array_len.norm2.InstSimplify.panic-unwind.diff FileCheck combine_array_len. 2023-10-19 15:51:53 +00:00
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