2014-01-16 14:31:20 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s
|
2010-07-22 10:48:34 +08:00
|
|
|
|
|
|
|
define void @test() {
|
2011-09-27 08:17:29 +08:00
|
|
|
fence acquire
|
2014-01-16 14:31:20 +08:00
|
|
|
; CHECK: #MEMBARRIER
|
|
|
|
|
2011-09-27 08:17:29 +08:00
|
|
|
fence release
|
2014-01-16 14:31:20 +08:00
|
|
|
; CHECK: #MEMBARRIER
|
|
|
|
|
2011-09-27 08:17:29 +08:00
|
|
|
fence acq_rel
|
2014-01-16 14:31:20 +08:00
|
|
|
; CHECK: #MEMBARRIER
|
|
|
|
|
2011-09-27 08:17:29 +08:00
|
|
|
ret void
|
2010-07-22 10:48:34 +08:00
|
|
|
}
|