• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=hexagon < %s
2target triple = "hexagon-unknown--elf"
3
4; Function Attrs: norecurse nounwind
5define void @_Z4lockv() #0 {
6entry:
7  %__shared_owners = alloca i32, align 4
8  %0 = cmpxchg weak i32* %__shared_owners, i32 0, i32 1 seq_cst seq_cst
9  ret void
10}
11
12attributes #0 = { nounwind }
13