Re: RFA: Add a common tls_referenced_p function

2014-07-25 Thread Jeff Law
On 07/24/14 09:44, Richard Sandiford wrote: Three targets had the same for_each_rtx function to check for a TLS symbol. This patch adds a generic version instead. Some other targets have a variation that checks for target-specific UNSPEC sequences too so I've left those alone. They're all prefi

RFA: Add a common tls_referenced_p function

2014-07-24 Thread Richard Sandiford
Three targets had the same for_each_rtx function to check for a TLS symbol. This patch adds a generic version instead. Some other targets have a variation that checks for target-specific UNSPEC sequences too so I've left those alone. They're all prefixed by the target name so there's no name clas