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

--- Comment #12 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Apr 12 10:58:28 2016
New Revision: 234898

URL: https://gcc.gnu.org/viewcvs?rev=234898&root=gcc&view=rev
Log:
[ARM] PR target/70566 Check that condition register is dead in tst-imm ->
lsls-imm Thumb2 peepholes

        Backport from mainline
        2016-04-08  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

        PR target/70566
        * config/arm/thumb2.md (tst + branch-> lsls + branch
        peephole below *orsi_not_shiftsi_si): Require that condition
        register is dead after the peephole.
        (second peephole after the above): Likewise.

        * gcc.c-torture/execute/pr70566.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr70566.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/arm/thumb2.md
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to