[clang] [llvm] [AArch64][clang][llvm] Add ACLE `stshh` atomic store builtin (PR #181386)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 18 10:09:19 PST 2026
================
@@ -0,0 +1,12 @@
+; RUN: llc -mtriple=aarch64 -mattr=+pcdphint < %s | FileCheck %s
+
+declare void @llvm.aarch64.stshh(i64)
+
+define void @test_stshh_atomic_store(ptr %p, i32 %v) {
+; CHECK-LABEL: test_stshh_atomic_store
+; CHECK: stshh
+; CHECK: str
+ call void @llvm.aarch64.stshh(i64 0)
----------------
CarolineConcatto wrote:
Can you add another test for
@llvm.aarch64.stshh(i64 1)
?
https://github.com/llvm/llvm-project/pull/181386
More information about the llvm-commits
mailing list