test: Don't depend on behavior of switch lower in one test. NFC
authorRuiling Song <ruiling.song@amd.com>
Tue, 12 Apr 2022 12:50:44 +0000 (20:50 +0800)
committerRuiling Song <ruiling.song@amd.com>
Thu, 14 Apr 2022 05:30:48 +0000 (13:30 +0800)
commit7c87d75d74f3c2943b286b239ec6ff96fc5109c7
tree6e693cfc90ae9f6fcecc80e8516ad8d3f1b26f17
parentbfafa105aab05e2c243e74114739b7d37f8ab0be
test: Don't depend on behavior of switch lower in one test. NFC

This is a preliminary change to update the test so that it does not
depend on how switch-case will be lowered. The following change will
lower switch-case more optimally that will make the test no longer
valid.

Reviewed by: arsenm

Differential Revision: https://reviews.llvm.org/D123606
llvm/test/CodeGen/AMDGPU/ipra-return-address-save-restore.ll