[RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and...
commit88523f02fa7dfa04c1921f0629bc008fecc8d5f3
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Sep 2015 08:23:47 +0000 (28 08:23 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Sep 2015 08:23:47 +0000 (28 08:23 +0000)
tree9c5c6978d44e03c901bb4085d25713d4b893a1ae
parent2d97a89392461888520e8ed136b7de5cd211cc1e
[RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and empty blocks more gracefully

        PR rtl-optimization/67456
        PR rtl-optimization/67464
        PR rtl-optimization/67465
        * ifcvt.c (noce_try_cmove_arith): Bail out if cannot conditionally
        move in the mode of x.  Handle combination of complex and simple
        block pairs as well as the case when one is empty.

        * gcc.dg/pr67465.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228194 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr67465.c [new file with mode: 0644]