https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927

Kamlesh Kumar <kamleshbhalui at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kamleshbhalui at gmail dot com

--- Comment #6 from Kamlesh Kumar <kamleshbhalui at gmail dot com> ---
This Fixes it.

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 2e73f3515bb..155f4c45500 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -16161,15 +16161,9 @@ aarch64_builtin_support_vector_misalignment
(machine_mode mode,
                                             const_tree type, int misalignment,
                                             bool is_packed)
 {
-  if (TARGET_SIMD && STRICT_ALIGNMENT)
+  if (STRICT_ALIGNMENT)
     {
-      /* Return if movmisalign pattern is not supported for this mode.  */
-      if (optab_handler (movmisalign_optab, mode) == CODE_FOR_nothing)
-        return false;
-
-      /* Misalignment factor is unknown at compile time.  */
-      if (misalignment == -1)
-       return false;
+      return false;
     }
   return default_builtin_support_vector_misalignment (mode, type,
misalignment,
                                                      is_packed);

Reply via email to