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]

[RFC][PATCH 1/3] Free a bit in SSA_NAME to save wrapped information


Freeing a spare-bit to store wrapped attribute by going back to
representing VR_ANTI_RANGE as [max + 1, min - 1] in SSA_NAME.

Thanks,
Kugan

gcc/ChangeLog:

2015-01-16  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* tree-ssanames.c (set_range_info): Change range info representation
	  and represent VR_ANTI_RANGE as [max + 1, min - 1].
	(get_range_info): Likewise.
	(set_nonzero_bits): Likewise.
	(duplicate_ssa_name_range_info): Likewise.
	* tree-ssanames.h (set_range_info): Change prototype.
	(get_range_info): Likewise.
	(set_nonzero_bits): Likewise.
	(duplicate_ssa_name_range_info): Likewise.
	* tree-vrp.c (remove_range_assertions): Use new representation.
	(vrp_finalize): Likewise.

Attachment: patch1.txt
Description: Text document


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