Sorry for the slow review.
Andrew Pinski writes:
> Index: simplify-rtx.c
> ===
> --- simplify-rtx.c(revision 190730)
> +++ simplify-rtx.c(working copy)
> @@ -869,6 +869,14 @@ simplify_unary_operation_1 (enum rtx_cod
>
Hi,
A truncate of a memory location can be simplified to a memory load
just like what is done for a subreg of a memory load.
This patch adds that simplification to simplify-rtx.c.
OK? Bootstrapped and tested on mips64-linux-gnu with no regressions.
Thanks,
Andrew Pinski
ChangeLog:
* simplify-