mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
6ad8c84d70
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84194 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
381 B
LLVM
17 lines
381 B
LLVM
; RUN: llc < %s -march=bfin -verify-machineinstrs | FileCheck %s
|
|
|
|
define void @f() nounwind {
|
|
entry:
|
|
; CHECK-NOT: llvm.bfin
|
|
; CHECK: csync;
|
|
call void @llvm.bfin.csync()
|
|
|
|
; CHECK-NOT: llvm.bfin
|
|
; CHECK: ssync;
|
|
call void @llvm.bfin.ssync()
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.bfin.csync() nounwind
|
|
declare void @llvm.bfin.ssync() nounwind
|