llvm-6502/test/CodeGen/Blackfin/sync-intr.ll
Jakob Stoklund Olesen 6b30f5c867 Add some basic blackfin intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77903 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 18:28:11 +00:00

14 lines
328 B
LLVM

; RUN: llvm-as < %s | llc -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