1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/Blackfin/sync-intr.ll
Jakob Stoklund Olesen 23ad8d1848 Add some basic blackfin intrinsics.
llvm-svn: 77903
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