[all-commits] [llvm/llvm-project] a2f750: [AArch64][clang][llvm] Add ACLE `stshh` atomic sto...
Jonathan Thackray via All-commits
all-commits at lists.llvm.org
Fri Feb 13 09:02:45 PST 2026
Branch: refs/heads/users/jthackray/acle_pcdphint_arm_atomic_store_with_stshh
Home: https://github.com/llvm/llvm-project
Commit: a2f7504eb0618af821eda1ba47b6d13590200e59
https://github.com/llvm/llvm-project/commit/a2f7504eb0618af821eda1ba47b6d13590200e59
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
M clang/lib/CodeGen/TargetBuiltins/ARM.cpp
M clang/lib/Headers/arm_acle.h
M clang/lib/Sema/SemaARM.cpp
A clang/test/CodeGen/AArch64/pcdphint-atomic-store.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
Log Message:
-----------
[AArch64][clang][llvm] Add ACLE `stshh` atomic store builtin
Add `__arm_atomic_store_with_stshh` implementation as defined
in the ACLE. Validate that the arguments passed are correct, and
lower it to the stshh intrinsic plus an atomic store with the
allowed orderings.
Gate this on FEAT_PCDPHINT so that availability matches
hardware support for the `STSHH` instruction. Use an i64
immediate and side-effect modeling to satisfy tablegen and decoding.
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