rust/tests/mir-opt/inline
Scott McMurray 61517dbbe6 Avoid a cast in ptr::slice_from_raw_parts(_mut)
Casting to `*const ()` or `*mut ()` just bloats the MIR, so let's not.

If ACP#362 goes through we can keep calling `ptr::from_raw_parts(_mut)` in these also without the cast, but that hasn't had any libs-api attention yet, so I'm not waiting on it.
2024-05-06 01:53:54 -07:00
..
asm_unwind.main.Inline.panic-abort.diff
asm_unwind.main.Inline.panic-unwind.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
asm_unwind.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
caller_with_trivial_bound.foo.Inline.panic-unwind.diff
caller_with_trivial_bound.rs
cycle.f.Inline.panic-abort.diff
cycle.f.Inline.panic-unwind.diff
cycle.g.Inline.panic-abort.diff
cycle.g.Inline.panic-unwind.diff
cycle.main.Inline.panic-abort.diff
cycle.main.Inline.panic-unwind.diff
cycle.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
dont_ice_on_generic_rust_call.call.Inline.panic-abort.diff
dont_ice_on_generic_rust_call.call.Inline.panic-unwind.diff
dont_ice_on_generic_rust_call.rs
dyn_trait.get_query.Inline.panic-abort.diff
dyn_trait.get_query.Inline.panic-unwind.diff
dyn_trait.mk_cycle.Inline.panic-abort.diff
dyn_trait.mk_cycle.Inline.panic-unwind.diff
dyn_trait.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
dyn_trait.try_execute_query.Inline.panic-abort.diff
dyn_trait.try_execute_query.Inline.panic-unwind.diff
exponential_runtime.main.Inline.panic-abort.diff
exponential_runtime.main.Inline.panic-unwind.diff
exponential_runtime.rs
indirect_destination.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
inline_any_operand.bar.Inline.after.mir
inline_any_operand.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_async.rs
inline_box_fn.call.Inline.panic-abort.diff
inline_box_fn.call.Inline.panic-unwind.diff
inline_box_fn.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
inline_closure_borrows_arg.foo.Inline.after.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_closure_borrows_arg.rs
inline_closure_captures.foo.Inline.after.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_closure_captures.rs
inline_closure.foo.Inline.after.mir
inline_closure.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_compatibility.rs
inline_coroutine.main.Inline.panic-abort.diff Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
inline_coroutine.main.Inline.panic-unwind.diff Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
inline_coroutine.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
inline_cycle_generic.main.Inline.panic-abort.diff
inline_cycle_generic.main.Inline.panic-unwind.diff
inline_cycle_generic.rs
inline_cycle.one.Inline.panic-abort.diff
inline_cycle.one.Inline.panic-unwind.diff
inline_cycle.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_cycle.two.Inline.panic-abort.diff
inline_cycle.two.Inline.panic-unwind.diff
inline_diverging.f.Inline.panic-abort.diff
inline_diverging.f.Inline.panic-unwind.diff
inline_diverging.g.Inline.panic-abort.diff
inline_diverging.g.Inline.panic-unwind.diff
inline_diverging.h.Inline.panic-abort.diff
inline_diverging.h.Inline.panic-unwind.diff
inline_diverging.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_instruction_set.default.Inline.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
inline_instruction_set.rs
inline_instruction_set.t32.Inline.diff
inline_options.main.Inline.after.panic-abort.mir
inline_options.main.Inline.after.panic-unwind.mir
inline_options.rs
inline_retag.bar.Inline.after.mir MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way 2024-03-10 14:59:41 +01:00
inline_retag.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_shims.clone.Inline.panic-abort.diff
inline_shims.clone.Inline.panic-unwind.diff
inline_shims.drop.Inline.panic-abort.diff Avoid a cast in ptr::slice_from_raw_parts(_mut) 2024-05-06 01:53:54 -07:00
inline_shims.drop.Inline.panic-unwind.diff Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
inline_shims.rs
inline_specialization.main.Inline.panic-abort.diff
inline_specialization.main.Inline.panic-unwind.diff
inline_specialization.rs
inline_trait_method_2.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
inline_trait_method_2.test2.Inline.after.panic-abort.mir
inline_trait_method_2.test2.Inline.after.panic-unwind.mir
inline_trait_method.rs
inline_trait_method.test.Inline.after.panic-abort.mir
inline_trait_method.test.Inline.after.panic-unwind.mir
issue_58867_inline_as_ref_as_mut.a.Inline.after.mir
issue_58867_inline_as_ref_as_mut.b.Inline.after.mir
issue_58867_inline_as_ref_as_mut.c.Inline.after.mir
issue_58867_inline_as_ref_as_mut.d.Inline.after.mir
issue_58867_inline_as_ref_as_mut.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
issue_76997_inline_scopes_parenting.main.Inline.after.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
issue_76997_inline_scopes_parenting.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
issue_78442.bar.Inline.panic-abort.diff
issue_78442.bar.Inline.panic-unwind.diff
issue_78442.bar.RevealAll.panic-abort.diff
issue_78442.bar.RevealAll.panic-unwind.diff
issue_78442.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
issue_106141.outer.Inline.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
issue_106141.outer.Inline.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
issue_106141.rs At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
polymorphic_recursion.rs
rustc_no_mir_inline.caller.Inline.panic-abort.diff Add #[rustc_no_mir_inline] for standard library UB checks 2024-02-24 21:19:41 +01:00
rustc_no_mir_inline.caller.Inline.panic-unwind.diff Add #[rustc_no_mir_inline] for standard library UB checks 2024-02-24 21:19:41 +01:00
rustc_no_mir_inline.caller.PreCodegen.after.panic-abort.mir Add #[rustc_no_mir_inline] for standard library UB checks 2024-02-24 21:19:41 +01:00
rustc_no_mir_inline.caller.PreCodegen.after.panic-unwind.mir Add #[rustc_no_mir_inline] for standard library UB checks 2024-02-24 21:19:41 +01:00
rustc_no_mir_inline.rs Add #[rustc_no_mir_inline] for standard library UB checks 2024-02-24 21:19:41 +01:00
unchecked_shifts.rs Update tests/mir-opt/inline/unchecked_shifts.rs 2024-04-02 17:21:20 +00:00
unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.panic-abort.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.panic-unwind.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-abort.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-unwind.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.Inline.panic-abort.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.Inline.panic-unwind.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.PreCodegen.after.panic-abort.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.PreCodegen.after.panic-unwind.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unit_test.rs mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
unsized_argument.caller.Inline.diff
unsized_argument.rs
unwrap_unchecked.rs Enable more mir-opt tests in debug builds 2024-03-22 20:14:39 -04:00
unwrap_unchecked.unwrap_unchecked.Inline.panic-abort.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unwrap_unchecked.unwrap_unchecked.Inline.panic-unwind.diff At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unwrap_unchecked.unwrap_unchecked.PreCodegen.after.panic-abort.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00
unwrap_unchecked.unwrap_unchecked.PreCodegen.after.panic-unwind.mir At debuginfo=0, don't inline debuginfo when inlining 2024-04-18 09:35:35 -07:00