On Mon, 6 Jun 2016, Jan Hubicka wrote:
> Hi,
> does this look better?
Can you make the argument of gimple_inexpensive_call_p a gcall * please?
Ok with that change.
Thanks,
Richard.
> Honza
>
> * gimple.c: Include builtins.h
> (gimple_inexpensive_call_p): New function.
> * gi
Hi,
does this look better?
Honza
* gimple.c: Include builtins.h
(gimple_inexpensive_call_p): New function.
* gimple.h (gimple_inexpensive_call_p): Declare.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Use it.
* tree-ssa-loop-ivcanon.c (tree_estima
> On Mon, 6 Jun 2016, Jan Hubicka wrote:
>
> > > On Sun, 5 Jun 2016, Jan Hubicka wrote:
> > >
> > > > Hi,
> > > > both loop-ch and loop-ivcanon want to trottle down the heuristics on
> > > > paths
> > > > containing call. Testing for presence of GIMPLE_CALL is wrong for
> > > > internal
> > > >
On Mon, 6 Jun 2016, Jan Hubicka wrote:
> > On Sun, 5 Jun 2016, Jan Hubicka wrote:
> >
> > > Hi,
> > > both loop-ch and loop-ivcanon want to trottle down the heuristics on paths
> > > containing call. Testing for presence of GIMPLE_CALL is wrong for internal
> > > call and cheap builtins that are
> On Sun, 5 Jun 2016, Jan Hubicka wrote:
>
> > Hi,
> > both loop-ch and loop-ivcanon want to trottle down the heuristics on paths
> > containing call. Testing for presence of GIMPLE_CALL is wrong for internal
> > call and cheap builtins that are expanded inline.
> >
> > Bootstrapped/regtested x86
On Sun, 5 Jun 2016, Jan Hubicka wrote:
> Hi,
> both loop-ch and loop-ivcanon want to trottle down the heuristics on paths
> containing call. Testing for presence of GIMPLE_CALL is wrong for internal
> call and cheap builtins that are expanded inline.
>
> Bootstrapped/regtested x86_64-linux, OK?