forked from OSchip/llvm-project
14 lines
328 B
LLVM
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
|