[AArch64] Add shrink-wrapping test with missing memoperands.
authorFlorian Hahn <flo@fhahn.com>
Fri, 12 May 2023 14:38:31 +0000 (15:38 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 12 May 2023 14:38:31 +0000 (15:38 +0100)
commitac9e9594af373f5273c61af7534cc8bdb6eae084
tree0fabb44c1ec33b2a341e28824a7d16b897cc57a0
parent80c643c46422e2af165aacf5d556604b118598b8
[AArch64] Add shrink-wrapping test with missing memoperands.

The newly added compiler_pop_stack_no_memoperands has no memory operands
on the memory instructions but accesses the same locations as
compiler_pop_stack. At the moment, accesses to the stack are missed by
shrink-wrapping. Test case for the issue pointed out by @jpenix-quic in
D149668 post-commit.
llvm/test/CodeGen/AArch64/dont-shrink-wrap-stack-mayloadorstore.mir