aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/barrier.ll
blob: f85c0ae98af1dafa2619158e330029347f093615 (plain)
1
2
3
4
5
6
7
8
9
10
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- -mattr=-sse2 | FileCheck %s

define void @test() {
; CHECK-LABEL: test:
; CHECK:       # %bb.0:
; CHECK-NEXT:    lock orl $0, (%esp)
; CHECK-NEXT:    retl
	fence seq_cst
	ret void
}