[ARM,AArch64][testsuite] AdvSIMD intrinsics tests cleanup: remove useless expected...
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / test-framepointer-4.c
blob4143a7a9cc26116085140fad3f030e1956038691
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer -fno-inline --save-temps" } */
4 #include "asm-adder-no-clobber-lr.c"
6 /* omit-frame-pointer is FALSE.
7 omit-leaf-frame-pointer is TRUE.
8 LR is not being clobbered in the leaf.
10 Unless we are removing all frame records, it's OK to remove the frame
11 record for a leaf where LR is not clobbered. Therefore, we expect a
12 frame record only in main. */
14 /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" 1 } } */
16 /* { dg-final { cleanup-saved-temps } } */