[Coroutines] Presubmit test for more coro remats
authorDavid Stuttard <david.stuttard@amd.com>
Thu, 12 Jan 2023 11:08:12 +0000 (11:08 +0000)
committerDavid Stuttard <david.stuttard@amd.com>
Mon, 13 Feb 2023 11:02:08 +0000 (11:02 +0000)
commit35106ad1009f51d95ff46c0f70be00575c318a5c
treea6dc51a5d20ec643fec64649cda2474c69260be9
parent8f104a3f9ae29f9d8a939ef5c85acf062286e146
[Coroutines] Presubmit test for more coro remats

Added more tests that check for >4 instructions.
Also added a retcon-remat test that checks rematerialization into a suspend
block predecessor (such as when remat for a retcon suspend happens).

Differential Revision: https://reviews.llvm.org/D142619
llvm/test/Transforms/Coroutines/coro-materialize.ll
llvm/test/Transforms/Coroutines/coro-retcon-remat.ll [new file with mode: 0644]