i386.c (ix86_decompose_address): Use simplify_subreg instead of simplify_gen_subreg.

* config/i386/i386.c (ix86_decompose_address): Use simplify_subreg
	instead of simplify_gen_subreg.

From-SVN: r192910
This commit is contained in:
Uros Bizjak 2012-10-29 10:08:19 +01:00 committed by Uros Bizjak
parent 1f41ed06b4
commit f483c6ae0b
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
2012-10-29 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg
to generate SImode equivalent of address, zero-extended with AND RTX.
* config/i386/i386.c (ix86_decompose_address): Use simplify_subreg
to check SImode equivalent of address, zero-extended with AND RTX.
* config/i386/i386.md (ashift to lea splitter): Split to SImode mult.
(simple lea to add/shift peephole2s): Remove peephole2s that operate
on subregs of DImode operations.

View file

@ -11822,7 +11822,7 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
}
else if (GET_MODE (addr) == DImode)
{
addr = simplify_gen_subreg (SImode, addr, DImode, 0);
addr = simplify_subreg (SImode, addr, DImode, 0);
if (addr == NULL_RTX)
return 0;
}