Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / test-framepointer-1.c
blobb1b5d6aa6eef6840262a5c40577b1791efa6abea
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-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 FALSE.
8 LR is not being clobbered in the leaf.
10 With no frame pointer omissions, we expect a frame record
11 for main and the leaf. */
13 /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */