This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386, Pointer Bounds Checker 11/x] Keep bounds initial values


On 05/29/14 04:53, Ilya Enkovich wrote:
Hi,

This patch tries to keep bounds initial values when it may be needed.  Even if initial value is not fully known (e.g. we know only low bound) it still may help to remove some redundant checks.

Bootstrapped and tested on linux-x86_64.

Thanks,
Ilya
--
gcc/

2013-05-29  Ilya Enkovich  <ilya.enkovich@intel.com>

	* ipa.c (symtab_remove_unreachable_nodes): Kepp initial values for
	pointer bounds to be used for checks eliminations.
	* lto-cgraph.c (compute_ltrans_boundary): Likewise.
	* add_references_to_partition (add_references_to_partition): Add
	references to pointer bounds vars.
Typo in the ChangeLog "kepp" -> "keep".

OK for the trunk when the rest of the stuff is approved, though I'm curious how, for example, keeping the initial value for an unreachable node in symtab_remove_unreachable_nodes helps eliminate redundant checks.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]