[all-commits] [llvm/llvm-project] 22734e: [Clang][AArch64] Fix 'svzero_za' intrinsic to take...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Fri Feb 23 03:31:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22734e15d8f2c437e8543f19632299d2e09b31f3
      https://github.com/llvm/llvm-project/commit/22734e15d8f2c437e8543f19632299d2e09b31f3
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sme.td
    A clang/test/Sema/aarch64-sme-intrinsics/acle_sme_zero.c

  Log Message:
  -----------
  [Clang][AArch64] Fix 'svzero_za' intrinsic to take no arguments. (#82648)

We previously defined svzero_za as:

  void svzero_za();

rather than:

  void svzero_za(void);

Which meant that Clang accepted arguments. Compiling for example
`svzero_za(<non-constant integer>)` ended up with incorrect IR and a
compiler crash because it couldn't select an instruction for it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list