[Bug rtl-optimization/87763] [9 Regression] aarch64 target testcases fail after r265398
wilco at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 25 13:29:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763
--- Comment #32 from Wilco <wilco at gcc dot gnu.org> ---
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
More information about the Gcc-bugs
mailing list