The original purpose of the test is to verify that, when the backend
emits a mov-pair sequence, the sequence carries a REG_EQUAL note for the
final constant value. Make that precondition explicit instead of
depending on target-specific tuning behavior, by forcing the test to
a CPU with the required properties.
gcc/testsuite/ChangeLog:
* gcc.target/arm/reg_equal_test.c: Add require effective target
cortex-a53 for test.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
/* { dg-do compile } */
/* { dg-options "-fgimple -O1 -fdump-rtl-expand" } */
-/* { dg-skip-if "" { ! { arm_thumb2_ok || arm_thumb1_movt_ok } } } */
+/* { dg-require-effective-target arm_cpu_cortex_a53_ok } */
+/* { dg-add-options arm_cpu_cortex_a53 } */
void __GIMPLE (ssa,startwith ("expand"))
x ()