This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r268265 - in /trunk/gcc: ChangeLog config/aarch...
- From: wilco at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 25 Jan 2019 13:29:07 -0000
- Subject: r268265 - in /trunk/gcc: ChangeLog config/aarch...
Author: wilco
Date: Fri Jan 25 13:29:06 2019
New Revision: 268265
URL: https://gcc.gnu.org/viewcvs?rev=268265&root=gcc&view=rev
Log:
[PATCH][AArch64] Fix generation of tst (PR87763)
The TST instruction no longer matches in all cases due to changes in
Combine. The fix is simple, we now need to allow a subreg as well when
selecting the cc_mode. This fixes the tst_5.c and tst_6.c failures.
AArch64 regress & bootstrap OK.
PR rtl-optimization/87763
* config/aarch64/aarch64.c (aarch64_select_cc_mode):
Allow SUBREG when matching CC_NZmode compare.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.c