[RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 28 Sep 2015 08:23:47 +0000 (08:23 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 28 Sep 2015 08:23:47 +0000 (08:23 +0000)
commit470512c31b5e078519370ce66fb39a3b6d604392
tree9c5c6978d44e03c901bb4085d25713d4b893a1ae
parenta681b758e9eb67a7eed0b65bbfc610aa44b905cb
[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.

From-SVN: r228194
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr67465.c [new file with mode: 0644]