rust/tests/mir-opt/building
bors 5526682702 Auto merge of #117330 - tmiasko:custom-mir-cleanup-blocks, r=cjgillot
Custom MIR: Support cleanup blocks

Cleanup blocks are declared with `bb (cleanup) = { ... }`.

`Call` and `Drop` terminators take an additional argument describing the unwind action, which is one of the following:

* `UnwindContinue()`
* `UnwindUnreachable()`
* `UnwindTerminate(reason)`, where reason is `ReasonAbi` or `ReasonInCleanup`
* `UnwindCleanup(block)`

Also support unwind resume and unwind terminate terminators:

* `UnwindResume()`
* `UnwindTerminate(reason)`
2023-11-14 08:53:25 +00:00
..
custom Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
async_await.a-{closure#0}.coroutine_resume.0.mir s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
async_await.b-{closure#0}.coroutine_resume.0.mir Compute layout with spans for better cycle errors in coroutines 2023-11-13 02:22:25 +00:00
async_await.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
enum_cast.bar.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.boo.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.droppy.built.after.mir make MIR less verbose 2023-08-24 14:26:26 +02:00
enum_cast.far.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.foo.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.offsetty.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
enum_cast.signy.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.unsigny.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_49232.main.built.after.mir Use PlaceMention for match scrutinees. 2023-10-24 15:30:17 +00:00
issue_49232.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_101867.main.built.after.mir Use PlaceMention for match scrutinees. 2023-10-24 15:30:17 +00:00
issue_101867.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_110508.{impl#0}-BAR.built.after.mir Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_110508.{impl#0}-SELF_BAR.built.after.mir Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_110508.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
logical_or_in_conditional.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
logical_or_in_conditional.test_complex.built.after.mir Use PlaceMention for match scrutinees. 2023-10-24 15:30:17 +00:00
logical_or_in_conditional.test_or.built.after.mir lower ExprKind::Use, LogicalOp::Or and UnOp::Not 2023-08-30 17:24:10 +08:00
match_false_edges.full_tested_match2.built.after.mir update mir-opt tests 2023-11-08 22:55:29 +01:00
match_false_edges.full_tested_match.built.after.mir update mir-opt tests 2023-11-08 22:55:29 +01:00
match_false_edges.main.built.after.mir update mir-opt tests 2023-11-08 22:55:29 +01:00
match_false_edges.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
receiver_ptr_mutability.main.built.after.mir Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
receiver_ptr_mutability.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
shifts.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
shifts.shift_signed.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
shifts.shift_unsigned.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
simple_match.match_bool.built.after.mir Use PlaceMention for match scrutinees. 2023-10-24 15:30:17 +00:00
simple_match.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
storage_live_dead_in_statics.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
storage_live_dead_in_statics.XXX.built.after.mir Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
uniform_array_move_out.move_out_by_subslice.built.after.mir make MIR less verbose 2023-08-24 14:26:26 +02:00
uniform_array_move_out.move_out_from_end.built.after.mir make MIR less verbose 2023-08-24 14:26:26 +02:00
uniform_array_move_out.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
while_storage.rs FileCheck while_storage. 2023-10-31 22:55:14 +00:00
while_storage.while_loop.PreCodegen.after.panic-abort.mir FileCheck while_storage. 2023-10-31 22:55:14 +00:00
while_storage.while_loop.PreCodegen.after.panic-unwind.mir FileCheck while_storage. 2023-10-31 22:55:14 +00:00