Re: [PATCH 07/12] mode-switching: Allow targets to set the mode for EH handlers

2023-11-07 Thread Jeff Law
On 11/7/23 17:15, Richard Sandiford wrote: Thanks for the reviews. Jeff Law writes: On 11/5/23 11:48, Richard Sandiford wrote: The mode-switching pass already had hooks to say what mode an entity is in on entry to a function and what mode it must be in on return. For SME, we also want to

Re: [PATCH 07/12] mode-switching: Allow targets to set the mode for EH handlers

2023-11-07 Thread Richard Sandiford
Thanks for the reviews. Jeff Law writes: > On 11/5/23 11:48, Richard Sandiford wrote: >> The mode-switching pass already had hooks to say what mode >> an entity is in on entry to a function and what mode it must >> be in on return. For SME, we also want to say what mode an >> entity is guarantee

Re: [PATCH 07/12] mode-switching: Allow targets to set the mode for EH handlers

2023-11-06 Thread Jeff Law
On 11/5/23 11:48, Richard Sandiford wrote: The mode-switching pass already had hooks to say what mode an entity is in on entry to a function and what mode it must be in on return. For SME, we also want to say what mode an entity is guaranteed to be in on entry to an exception handler. gcc/

[PATCH 07/12] mode-switching: Allow targets to set the mode for EH handlers

2023-11-05 Thread Richard Sandiford
The mode-switching pass already had hooks to say what mode an entity is in on entry to a function and what mode it must be in on return. For SME, we also want to say what mode an entity is guaranteed to be in on entry to an exception handler. gcc/ * target.def (mode_switching.eh_handler):