[all-commits] [llvm/llvm-project] c06a75: Add AMO load with Compare and Swap Not Equal
Maryam Moghadas via All-commits
all-commits at lists.llvm.org
Mon Jan 26 13:47:32 PST 2026
Branch: refs/heads/users/maryammo/amo_load_csne
Home: https://github.com/llvm/llvm-project
Commit: c06a757218c74320010902c07d601373bc05373b
https://github.com/llvm/llvm-project/commit/c06a757218c74320010902c07d601373bc05373b
Author: Maryam Moghadas <maryammo at ca.ibm.com>
Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths:
M clang/include/clang/Basic/BuiltinsPPC.def
M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
M clang/lib/Sema/SemaPPC.cpp
M clang/test/CodeGen/PowerPC/builtins-amo-err.c
M clang/test/CodeGen/PowerPC/builtins-ppc-amo.c
M llvm/include/llvm/IR/IntrinsicsPowerPC.td
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.h
M llvm/test/CodeGen/PowerPC/amo-enable.ll
Log Message:
-----------
Add AMO load with Compare and Swap Not Equal
This commit adds support for lwat/ldat atomic operations with function
code 16 (Compare and Swap Not Equal) via 4 clang builtins:
__builtin_amo_lwat_csne for 32-bit unsigned operations
__builtin_amo_ldat_csne for 64-bit unsigned operations
__builtin_amo_lwat_csne_s for 32-bit signed operations
__builtin_amo_ldat_csne_s for 64-bit signed operations
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