[all-commits] [llvm/llvm-project] 457098: builtins: honour `_M_ARM64` as `__aarch64__`
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Wed Sep 11 12:16:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4570984e7fe7409cec10d2305fb43c0b52806683
https://github.com/llvm/llvm-project/commit/4570984e7fe7409cec10d2305fb43c0b52806683
Author: Saleem Abdulrasool <abdulras at thebrowser.company>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/aarch64.c
Log Message:
-----------
builtins: honour `_M_ARM64` as `__aarch64__`
When clang is used as `clang-cl`, we use MSVC style macros. The spelling
of `__aarch64__` is converted to `_M_ARM64`. Account for this
alternative spelling in the conditional check. While in the area, add a
tertiary spelling of `__arm64__` to ensure that we catch more of the
variants.
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