[RTL-ifcvt] PR rtl-optimization/68624: Clean up logic that checks for clobbering...
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Dec 2015 13:28:55 +0000 (13:28 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Dec 2015 13:28:55 +0000 (13:28 +0000)
commit4aa15f9c0742f6f0c24cd154e3a476c37afa960a
tree32df47c3ed9c329260ff1a9ba2646482cc84c212
parentddf5be99b675731b34d76f16d4d123e23c594268
[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.

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