You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
&lower_slice_len::LowerSliceLenCalls,// has to be done before inlining, otherwise actual call will be almost always inlined. Also simple, so can just do first
568
+
// Before inlining: trim down MIR with passes to reduce inlining work.
569
+
570
+
// Has to be done before inlining, otherwise actual call will be almost always inlined.
571
+
// Also simple, so can just do first
572
+
&lower_slice_len::LowerSliceLenCalls,
573
+
// Perform inlining, which may add a lot of code.
569
574
&inline::Inline,
570
-
// Substitutions during inlining may introduce switch on enums with uninhabited branches.
575
+
// Code from other crates may have storage markers, so this needs to happen after inlining.
576
+
&remove_storage_markers::RemoveStorageMarkers,
577
+
// Inlining and substitution may introduce ZST and useless drops.
578
+
&remove_zsts::RemoveZsts,
579
+
&remove_unneeded_drops::RemoveUnneededDrops,
580
+
// Type substitution may create uninhabited enums.
Copy file name to clipboardExpand all lines: tests/mir-opt/pre-codegen/optimizes_into_variable.main.ScalarReplacementOfAggregates.32bit.panic-abort.diff
Copy file name to clipboardExpand all lines: tests/mir-opt/pre-codegen/optimizes_into_variable.main.ScalarReplacementOfAggregates.32bit.panic-unwind.diff
Copy file name to clipboardExpand all lines: tests/mir-opt/pre-codegen/optimizes_into_variable.main.ScalarReplacementOfAggregates.64bit.panic-abort.diff
Copy file name to clipboardExpand all lines: tests/mir-opt/pre-codegen/optimizes_into_variable.main.ScalarReplacementOfAggregates.64bit.panic-unwind.diff
0 commit comments