diff mbox series

[committed] Two trivial backports to gcc-8-branch

Message ID mpt7ebdxmuo.fsf@arm.com
State New
Headers show
Series [committed] Two trivial backports to gcc-8-branch | expand

Commit Message

Richard Sandiford April 29, 2019, 8 a.m. UTC
Patches to fix two typos introduced between GCC 7 and GCC 8.

Tested on aarch64-linux-gnu, aarch64_be-elf and x86_64-linux-gnu.
Committed as obvious for the first and preapproved (but also obvious)
for the second.

Richard
diff mbox series

Patch

Fix aarch64_evpc_tbl guard (PR 85910)

2018-04-29  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	Backport from mainline:
	2018-08-23  Richard Sandiford  <richard.sandiford@arm.com>

	PR target/85910
	* config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Fix
	aarch64_evpc_tbl guard.

Index: gcc/config/aarch64/aarch64.c
===================================================================
--- gcc/config/aarch64/aarch64.c	2019-04-29 08:40:42.293340377 +0100
+++ gcc/config/aarch64/aarch64.c	2019-04-29 08:52:42.774919246 +0100
@@ -15623,7 +15623,7 @@  aarch64_expand_vec_perm_const_1 (struct
 	return true;
       if (d->vec_flags == VEC_SVE_DATA)
 	return aarch64_evpc_sve_tbl (d);
-      else if (d->vec_flags == VEC_SVE_DATA)
+      else if (d->vec_flags == VEC_ADVSIMD)
 	return aarch64_evpc_tbl (d);
     }
   return false;