bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Hexagon/intrinsics/llsc_bundling.ll
2025-02-14 19:21:04 +01:00

12 lines
299 B
LLVM

; RUN: llc -march=hexagon < %s
target triple = "hexagon-unknown--elf"
; Function Attrs: norecurse nounwind
define void @_Z4lockv() #0 {
entry:
%__shared_owners = alloca i32, align 4
%0 = cmpxchg weak ptr %__shared_owners, i32 0, i32 1 seq_cst seq_cst
ret void
}
attributes #0 = { nounwind }