1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-11 10:31:40 +00:00
2009-10-15 18:50:52 +00:00

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