mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
318 B
LLVM
14 lines
318 B
LLVM
; 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
|