[simplify-rtx][2/2] Use constants from pool when simplifying binops
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 20 Oct 2015 16:13:29 +0000 (16:13 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 20 Oct 2015 16:13:29 +0000 (16:13 +0000)
commitbfb792b6044c340b54a9d04b2a1e6e0e608b3aa6
treeb5572c8e3a2bfd8f404725ebcf71e737b5673826
parent39252973769c869814f7dcbf1b62cf7a90ac1417
[simplify-rtx][2/2] Use constants from pool when simplifying binops

* simplify-rtx.c (simplify_binary_operation): If either operand was
a constant pool reference use them if all other simplifications failed.

* gcc.target/aarch64/fmul_fcvt_1.c: Add multiply-by-32 cases.

From-SVN: r229086
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/fmul_fcvt_1.c