Re: Use known value ranges while evaluating ipa predicates

2019-11-15 Thread Jan Hubicka
> PASS: gcc.dg/ipa/inline-9.c (test for excess errors) > gcc.dg/ipa/inline-9.c: dump file does not exist > UNRESOLVED: gcc.dg/ipa/inline-9.c scan-tree-dump inline "Inlined 1 calls" > > but fixing the obvious bug in there, s/scan-tree-dump/scan-ipa-dump/ > doesn't help, nothing is really inlined.

Re: Use known value ranges while evaluating ipa predicates

2019-11-14 Thread Jakub Jelinek
On Tue, Nov 12, 2019 at 02:03:32PM +0100, Jan Hubicka wrote: > this implements use of value ranges in ipa-predicates so inliner know > when some tests are going to be removed (especially NULL pointer > checks). > > Bootstrapped/regtested x86_64-linux. Martin, I would apprechiate if you > look on t

Use known value ranges while evaluating ipa predicates

2019-11-12 Thread Jan Hubicka
Hi, this implements use of value ranges in ipa-predicates so inliner know when some tests are going to be removed (especially NULL pointer checks). Bootstrapped/regtested x86_64-linux. Martin, I would apprechiate if you look on the patch. Honza * ipa-cp.c (ipa_vr_operation_and_type_effe