[RTL-ifcvt] PR rtl-optimization/68624: Clean up logic that checks for clobbering...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 3 Dec 2015 13:28:55 +0000 (13:28 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 3 Dec 2015 13:28:55 +0000 (13:28 +0000)
commit1986d6791c18e5d9d527eb5acec1f326085a0ca7
tree32df47c3ed9c329260ff1a9ba2646482cc84c212
parent97a1a642995cbe356786d2fb2b7c203fea7d0282
[RTL-ifcvt] PR rtl-optimization/68624: Clean up logic that checks for clobbering conflicts across basic blocks

PR rtl-optimization/68624
* ifcvt.c (noce_try_cmove_arith): Check clobbers of temp regs in both
blocks if they exist and simplify the logic choosing the order to emit
them in.

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

From-SVN: r231226
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr68624.c [new file with mode: 0644]