2012-09-01 Andrew Pinski <apinski@cavium.com>
commit0400917b78f2606c724615cfbe6a3ff6ccae9492
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Sep 2012 18:52:19 +0000 (1 18:52 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Sep 2012 18:52:19 +0000 (1 18:52 +0000)
treebe556f5593c16ed2a60e57ca2ab1b9d6e738f2be
parent55760e6b1e157d6b7d0456993856f41ace841d2b
2012-09-01  Andrew Pinski  <apinski@cavium.com>

* simplify-rtx.c (simplify_unary_operation_1 <case TRUNCATE>):
A truncate of a memory is just loading the low part of the memory.

2012-09-01  Andrew Pinski  <apinski@cavium.com>

        * gcc.target/mips/truncate-8.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190848 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/truncate-8.c [new file with mode: 0644]