Re: [PATCH v2] x86: Check register and GENERAL_REG_P for stack access

2025-02-19 Thread Uros Bizjak
On Wed, Feb 19, 2025 at 2:10 PM H.J. Lu wrote: > > On Wed, Feb 19, 2025 at 8:16 PM Uros Bizjak wrote: > > > > On Wed, Feb 19, 2025 at 12:53 PM H.J. Lu wrote: > > > > > > Since stack can only be accessed by GPR, check GENERAL_REG_P, instead of > > > REG_P, in ix86_find_all_reg_use_1. > > > > > >

[PATCH v2] x86: Check register and GENERAL_REG_P for stack access

2025-02-19 Thread H.J. Lu
on the list, update the stack alignment. The missing part is that it doesn't check if the register is actually used for memory access. Here is the v2 patch to also check if the register is used for memory access. -- H.J. From 76d42ce8afc9255c729c54062148c77e748147c4 Mon Sep 17 00:00:00 2001 F