llvm.org GIT mirror llvm / release_39 test / CodeGen / X86 / barrier-sse.ll
release_39

Tree @release_39 (Download .tar.gz)

barrier-sse.ll @release_39raw · history · blame

; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s

define void @test() {
  fence acquire
  ; CHECK: #MEMBARRIER

  fence release
  ; CHECK: #MEMBARRIER

  fence acq_rel
  ; CHECK: #MEMBARRIER

  ret void
}