simplify-rtx.c (simplify_binary_operation_1): Add LSHIFTRT case.
authorTamar Christina <tamar.christina@arm.com>
Tue, 2 May 2017 15:19:07 +0000 (15:19 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Tue, 2 May 2017 15:19:07 +0000 (15:19 +0000)
commitcc5b8f3d568e95ce74e03d8d87ada71117a6c106
tree9466e3e211c6783f0f35e6a524d4b1e5772df60a
parentc8429337386348018079e683ac3bfd35c51672d0
simplify-rtx.c (simplify_binary_operation_1): Add LSHIFTRT case.

gcc/
2017-04-27  Tamar Christina  <tamar.christina@arm.com>

* simplify-rtx.c (simplify_binary_operation_1): Add LSHIFTRT case.

gcc/testsuite/
2017-04-27  Tamar Christina  <tamar.christina@arm.com>

* gcc.dg/lsr-div1.c: New testcase.

From-SVN: r247504
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lsr-div1.c [new file with mode: 0644]