summaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-09-14 08:52:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-09-24 09:00:51 -0700
commitf0baed1fb6cd6ed7c7a3dce1f555d3f72b1575a5 (patch)
treef234dacd8a985fee4c59ebfe096e98faf4f51be9 /intl
parent71c83e108de7b54f604eeebefbc9e97672310ca7 (diff)
downloadgcc-f0baed1fb6cd6ed7c7a3dce1f555d3f72b1575a5.tar.gz
rtl_data: Add sp_is_clobbered_by_asm
Add sp_is_clobbered_by_asm to rtl_data to inform backends that the stack pointer is clobbered by asm statement. gcc/ PR target/97032 * cfgexpand.c (asm_clobber_reg_kind): Set sp_is_clobbered_by_asm to true if the stack pointer is clobbered by asm statement. * emit-rtl.h (rtl_data): Add sp_is_clobbered_by_asm. * config/i386/i386.c (ix86_get_drap_rtx): Set need_drap to true if the stack pointer is clobbered by asm statement. gcc/testsuite/ PR target/97032 * gcc.target/i386/pr97032.c: New test. (cherry picked from commit 453a20c65722719b9e2d84339f215e7ec87692dc)
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions