* optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jan 1999 20:43:14 +0000 (20:43 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jan 1999 20:43:14 +0000 (20:43 +0000)
commit989c2a6986d0ca5858aee6b4cb313e603cf29a89
treef3bee78195ed2ea424f2fed1ca5659020bca3406
parent99766a9025dc35f2cdf90c7456c2fad934d68f62
    * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
        for a target with HAVE_cc0 defined.
        (emit_cmp_and_jump_insns): New function.
        * expr.h (emit_cmp_and_jump_insns): Prototype it.
        * loop.c (check_dbra_loop): Use it to replace calls
        to emit_cmp_insn and emit_jump_insn and to canonicalise
        the comparison if necessary.
        * unroll.c (unroll_loop): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24471 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.h
gcc/loop.c
gcc/optabs.c
gcc/unroll.c