combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate instead of gen_lowpart.

* combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate
	instead of gen_lowpart.

From-SVN: r111911
This commit is contained in:
Adam Nemet 2006-03-09 23:05:50 +00:00 committed by Adam Nemet
parent 17029ac2c3
commit f243cee6f1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-03-09 Adam Nemet <anemet@caviumnetworks.com>
* combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate
instead of gen_lowpart.
2006-03-09 Richard Sandiford <richard@codesourcery.com>
* config/mips/mips-protos.h (mips_output_conditional_branch): Change

View file

@ -9199,7 +9199,7 @@ simplify_shift_const_1 (enum rtx_code code, enum machine_mode result_mode,
GET_MODE_MASK (result_mode) >> orig_count);
/* Do the remainder of the processing in RESULT_MODE. */
x = gen_lowpart (result_mode, x);
x = gen_lowpart_or_truncate (result_mode, x);
/* If COMPLEMENT_P is set, we have to complement X before doing the outer
operation. */