13 lines · plain
1; RUN: llc -mtriple=hexagon < %s2target triple = "hexagon-unknown--elf"3 4; Function Attrs: norecurse nounwind5define void @_Z4lockv() #0 {6entry:7 %__shared_owners = alloca i32, align 48 %0 = cmpxchg weak ptr %__shared_owners, i32 0, i32 1 seq_cst seq_cst9 ret void10}11 12attributes #0 = { nounwind }13