[AArch64] Ignore instructions not supported by CPU in AArch64SVESchedPseudoTest
authorSander de Smalen <sander.desmalen@arm.com>
Mon, 24 Jul 2023 14:47:19 +0000 (14:47 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Mon, 24 Jul 2023 14:59:32 +0000 (14:59 +0000)
commit57329ca94630742ce3b0f6b239b263d757a9eb4a
tree744539efdaee3bf025943ec3f31ce7f18db24a2a
parent8249d6724ccd8876b421dd96151dab98fa45210c
[AArch64] Ignore instructions not supported by CPU in AArch64SVESchedPseudoTest

When adding new Pseudos for instructions that are not supported
by the CPU for which the scheduler model is being tested, the test fails
if these pseudos are not covered by the regex's in the scheduling model.

Rather than failing, this test should check that the CPU supports the
original instruction modelled by the pseudo. If not, the pseudo is
not relevant to the scheduling model being tested.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D156094
llvm/unittests/Target/AArch64/AArch64SVESchedPseudoTest.cpp