llvm.org GIT mirror llvm / release_90 test / CodeGen / SystemZ / atomic-fence-02.ll
release_90

Tree @release_90 (Download .tar.gz)

atomic-fence-02.ll @release_90raw · history · blame

; Serialization is emitted only for fence seq_cst.
;
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s

define void @test() {
; CHECK: #MEMBARRIER
  fence acquire
; CHECK: #MEMBARRIER
  fence release
; CHECK: #MEMBARRIER
  fence acq_rel
  ret void
}