Commit 4df8acd3 by Adam Nemet Committed by Adam Nemet

combine.c (struct reg_stat): Add new fields truncation_label and truncated_to_mode.

	* combine.c (struct reg_stat): Add new fields truncation_label and
	truncated_to_mode.
	(record_value_for_reg): Reset truncated_to_mode.
	(record_truncated_value): New function.
	(check_promoted_subreg): Call it.  Rename to check_conversions.
	(combine_instructions): Rename check_promoted_subreg to
	check_conversions.
	(reg_truncated_to_mode): New function.
	(make_extraction): Use it.  Check TRULY_NOOP_TRUNCATION.
	(gen_lowpart_or_truncate): New function.
	(force_to_mode): Use it instead of gen_lowpart.

From-SVN: r109679
parent c4603146
2006-01-13 Adam Nemet <anemet@caviumnetworks.com>
* combine.c (struct reg_stat): Add new fields truncation_label and
truncated_to_mode.
(record_value_for_reg): Reset truncated_to_mode.
(record_truncated_value): New function.
(check_promoted_subreg): Call it. Rename to check_conversions.
(combine_instructions): Rename check_promoted_subreg to
check_conversions.
(reg_truncated_to_mode): New function.
(make_extraction): Use it. Check TRULY_NOOP_TRUNCATION.
(gen_lowpart_or_truncate): New function.
(force_to_mode): Use it instead of gen_lowpart.
2006-01-13 Diego Novillo <dnovillo@redhat.com> 2006-01-13 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-alias.c (add_type_alias): Fix typo. Test whether * tree-ssa-alias.c (add_type_alias): Fix typo. Test whether
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment