rust/tests/mir-opt/inline
Scott McMurray 3ec4eeddef [libs] Simplify unchecked_{shl,shr}
There's no need for the `const_eval_select` dance here.  And while I originally wrote the `.try_into().unwrap_unchecked()` implementation here, it's kinda a mess in MIR -- this new one is substantially simpler, as shown by the old one being above the inlining threshold but the new one being below it.
2023-06-16 16:03:19 -07:00
..
asm_unwind.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
asm_unwind.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
asm_unwind.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
caller_with_trivial_bound.foo.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
caller_with_trivial_bound.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
cycle.f.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.f.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.g.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.g.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
dyn_trait.get_query.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.get_query.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.mk_cycle.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.mk_cycle.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
dyn_trait.try_execute_query.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.try_execute_query.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
exponential_runtime.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
exponential_runtime.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
exponential_runtime.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_any_operand.bar.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_any_operand.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_closure_borrows_arg.foo.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_closure_borrows_arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_closure_captures.foo.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_closure_captures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_closure.foo.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_compatibility.inlined_no_sanitize.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.inlined_no_sanitize.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.inlined_target_feature.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.inlined_target_feature.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_c_variadic.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_c_variadic.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_no_sanitize.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_no_sanitize.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_target_feature.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_target_feature.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_cycle_generic.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle_generic.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle_generic.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_cycle.one.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle.one.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_cycle.two.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle.two.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.f.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.f.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.g.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.g.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.h.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.h.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_generator.main.Inline.panic-abort.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_generator.main.Inline.panic-unwind.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_generator.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_instruction_set.default.Inline.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_instruction_set.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_instruction_set.t32.Inline.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_into_box_place.main.Inline.panic-abort.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_into_box_place.main.Inline.panic-unwind.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_into_box_place.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_options.main.Inline.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_options.main.Inline.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_options.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_retag.bar.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_retag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_shims.clone.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.clone.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.drop.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.drop.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_specialization.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_specialization.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_specialization.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_trait_method_2.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_trait_method_2.test2.Inline.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_trait_method_2.test2.Inline.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_trait_method.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_trait_method.test.Inline.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_trait_method.test.Inline.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.a.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.b.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.c.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.d.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_76997_inline_scopes_parenting.main.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_76997_inline_scopes_parenting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_78442.bar.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.bar.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.bar.RevealAll.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.bar.RevealAll.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
issue_106141.outer.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_106141.outer.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_106141.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
polymorphic_recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unchecked_shifts.rs [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_bigger.Inline.panic-abort.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_bigger.Inline.panic-unwind.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_bigger.PreCodegen.after.panic-abort.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_bigger.PreCodegen.after.panic-unwind.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.panic-abort.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.panic-unwind.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-abort.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-unwind.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.Inline.panic-abort.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.Inline.panic-unwind.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.PreCodegen.after.panic-abort.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_bigger.PreCodegen.after.panic-unwind.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_smaller.Inline.panic-abort.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_smaller.Inline.panic-unwind.diff [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_smaller.PreCodegen.after.panic-abort.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unchecked_shifts.unchecked_shr_signed_smaller.PreCodegen.after.panic-unwind.mir [libs] Simplify unchecked_{shl,shr} 2023-06-16 16:03:19 -07:00
unsized_argument.caller.Inline.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unsized_argument.rs Don't inline functions with unsized args 2023-05-20 17:45:50 -07:00
unwrap_unchecked.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
unwrap_unchecked.unwrap_unchecked.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unwrap_unchecked.unwrap_unchecked.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unwrap_unchecked.unwrap_unchecked.PreCodegen.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unwrap_unchecked.unwrap_unchecked.PreCodegen.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00