Re: A couple GIMPLE questions

2020-09-06 Thread Richard Biener via Gcc
o reverse it... No, there isn't. We happily propagate constants into PHI nodes. Richard. > >Thanks, > >Gary > >From: Marc Glisse >Sent: Saturday, September 5, 2020 11:29 PM >To: Gary Oblock >Cc: gcc@gcc.gnu.org >Subject

Re: A couple GIMPLE questions

2020-09-06 Thread Gary Oblock via Gcc
y Oblock Cc: gcc@gcc.gnu.org Subject: Re: A couple GIMPLE questions [EXTERNAL EMAIL NOTICE: This email originated from an external sender. Please be mindful of safe email handling and proprietary information protection practices.] On Sat, 5 Sep 2020, Gary Oblock via Gcc wrote: > First off

Re: A couple GIMPLE questions

2020-09-06 Thread Gary Oblock via Gcc
To: Gary Oblock Cc: gcc@gcc.gnu.org Subject: Re: A couple GIMPLE questions [EXTERNAL EMAIL NOTICE: This email originated from an external sender. Please be mindful of safe email handling and proprietary information protection practices.] On Sat, 5 Sep 2020, Gary Oblock via Gcc wrote: > First of

Re: A couple GIMPLE questions

2020-09-05 Thread Marc Glisse
On Sat, 5 Sep 2020, Gary Oblock via Gcc wrote: First off one of the questions just me being curious but second is quite serious. Note, this is GIMPLE coming into my optimization and not something I've modified. Here's the C code: type_t * do_comp( type_t *data, size_t len) { type_t *res; typ

A couple GIMPLE questions

2020-09-05 Thread Gary Oblock via Gcc
First off one of the questions just me being curious but second is quite serious. Note, this is GIMPLE coming into my optimization and not something I've modified. Here's the C code: type_t * do_comp( type_t *data, size_t len) { type_t *res; type_t *x = min_of_x( data, len); type_t *y = max