This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, PR58066] preferred_stack_boundary update for tls expanded call


Oh, I see. Thanks!

Wei.

On Wed, Mar 12, 2014 at 2:42 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Mar 12, 2014 at 2:36 PM, Wei Mi <wmi@google.com> wrote:
>> Hi H.J.,
>>
>> Could you show me why you postpone the setting
>> ix86_tls_descriptor_calls_expanded_in_cfun until reload_complete and
>> use ix86_tls_descriptor_calls_expanded_in_cfun instead of
>> ix86_current_function_calls_tls_descriptor? Isn't
>> ix86_current_function_calls_tls_descriptor useful to consider the case
>> that tls call is optimized away?
>>
>
> When a tls call is optimized away, it won't survive reload.
> If it does survive reload, it isn't optimized away.  Also
> checking df_regs_ever_live_p (SP_REG) isn't reliable
> when called from ix86_compute_frame_layout.
>
> --
> H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]