PR target/51244
commitc91d7b8abdcf30456f2bea0d0e19207c9f34ec7f
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Sep 2012 08:03:01 +0000 (4 08:03 +0000)
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Sep 2012 08:03:01 +0000 (4 08:03 +0000)
treec07fbfdbec90f271f3495e4f0de1a986ff16687d
parent480a3d9e42f54a20e050a5bdae3114258c9869ff
PR target/51244
* config/sh/sh.c (prepare_cbranch_operands): Pull out comparison
canonicalization code into...
* (sh_canonicalize_comparison): This new function.
* config/sh/sh-protos.h: Declare it.
* config/sh/sh.h: Use it in new macro CANONICALIZE_COMPARISON.
* config/sh/sh.md (cbranchsi4): Remove TARGET_CBRANCHDI4 check and
always invoke expand_cbranchsi4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190909 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md