> -----Original Message----- > From: Christophe Lyon <christophe.l...@linaro.org> > Sent: Monday, August 14, 2023 7:10 PM > To: gcc-patches@gcc.gnu.org; Kyrylo Tkachov <kyrylo.tkac...@arm.com>; > Richard Earnshaw <richard.earns...@arm.com>; Richard Sandiford > <richard.sandif...@arm.com> > Cc: Christophe Lyon <christophe.l...@linaro.org> > Subject: [PATCH] arm: [MVE intrinsics] Remove dead check for float type in > parse_element_type > > Fix a likely copy/paste error, where we check if ch == 'f' after we > checked it's either 's' or 'u'. Ok. Thanks, Kyrill > > 2023-08-14 Christophe Lyon <christophe.l...@linaro.org> > > gcc/ > * config/arm/arm-mve-builtins-shapes.cc (parse_element_type): > Remove dead check. > --- > gcc/config/arm/arm-mve-builtins-shapes.cc | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/gcc/config/arm/arm-mve-builtins-shapes.cc b/gcc/config/arm/arm- > mve-builtins-shapes.cc > index 1633084608e..23eb9d0e69b 100644 > --- a/gcc/config/arm/arm-mve-builtins-shapes.cc > +++ b/gcc/config/arm/arm-mve-builtins-shapes.cc > @@ -80,8 +80,7 @@ parse_element_type (const function_instance > &instance, const char *&format) > > if (ch == 's' || ch == 'u') > { > - type_class_index tclass = (ch == 'f' ? TYPE_float > - : ch == 's' ? TYPE_signed > + type_class_index tclass = (ch == 's' ? TYPE_signed > : TYPE_unsigned); > char *end; > unsigned int bits = strtol (format, &end, 10); > -- > 2.34.1
RE: [PATCH] arm: [MVE intrinsics] Remove dead check for float type in parse_element_type
Kyrylo Tkachov via Gcc-patches Tue, 22 Aug 2023 03:02:58 -0700
- [PATCH] arm: [MVE intrinsics] Remove dead ... Christophe Lyon via Gcc-patches
- RE: [PATCH] arm: [MVE intrinsics] Rem... Kyrylo Tkachov via Gcc-patches