Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

13 lines
300 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 i32* %__shared_owners, i32 0, i32 1 seq_cst seq_cst
ret void
}
attributes #0 = { nounwind }