https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64616

--- Comment #4 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Wed May 13 05:39:14 2015
New Revision: 223113

URL: https://gcc.gnu.org/viewcvs?rev=223113&root=gcc&view=rev
Log:
2015-05-13  Thomas Preud'homme  <thomas.preudho...@arm.com>

    gcc/
    PR rtl-optimization/64616
    * loop-invariant.c (can_move_invariant_reg): New.
    (move_invariant_reg): Call above new function to decide whether
    instruction can just be moved, skipping creation of temporary
    register.

    gcc/testsuite/
    PR rtl-optimization/64616
    * gcc.dg/loop-8.c: New test.
    * gcc.dg/loop-9.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/loop-8.c
    trunk/gcc/testsuite/gcc.dg/loop-9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-invariant.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to