mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
6b30f5c867
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77903 91177308-0d34-0410-b5e6-96231b3b80d8
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
|