[all-commits] [llvm/llvm-project] a7f0b2: [clang][ARM][AArch64] Reapply "Define intrinsics g...

Nick Sarnie via All-commits all-commits at lists.llvm.org
Wed Jun 4 07:42:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7f0b29733ff5554703721e2e3b4b756b053b784
      https://github.com/llvm/llvm-project/commit/a7f0b29733ff5554703721e2e3b4b756b053b784
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinHeaders.def
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/include/clang/Basic/BuiltinsARM.def
    M clang/lib/Headers/arm_acle.h
    M clang/lib/Sema/SemaARM.cpp
    A clang/test/CodeGen/arm-former-microsoft-intrinsics-header-warning.c
    A clang/test/CodeGen/arm-former-microsoft-intrinsics.c
    M clang/test/CodeGen/arm-microsoft-intrinsics.c
    A clang/test/CodeGen/arm64-former-microsoft-intrinsics-header-warning.c
    A clang/test/CodeGen/arm64-former-microsoft-intrinsics.c
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/CodeGen/builtins-arm-microsoft.c
    M clang/test/Headers/Inputs/include/stdint.h
    M clang/test/Headers/ms-intrin.cpp

  Log Message:
  -----------
  [clang][ARM][AArch64] Reapply "Define intrinsics guarded by __has_builtin on all platforms (#128222)" (#140910)

The original change caused issues on MSVC due to a new warning thrown
inside MSVC headers. That was fixed
[here](https://github.com/llvm/llvm-project/pull/142019), so reapply
this commit. Original description below.

Instead of defining ARM ACLE intrinsics only on MSVC and guarding
wrapper functions in headers with __has_builtin, universally define the
intrinsics as target header builtins.



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