summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Blackfin/sync-intr.ll
blob: 75084f01e560797fb145545c68ca343cd1fb9e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc < %s -march=bfin -verify-machineinstrs | FileCheck %s

define void @f() nounwind {
entry:
        ; CHECK: csync;
        call void @llvm.bfin.csync()
        ; CHECK: ssync;
        call void @llvm.bfin.ssync()
	ret void
}

declare void @llvm.bfin.csync() nounwind
declare void @llvm.bfin.ssync() nounwind
OpenPOWER on IntegriCloud