mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
311774b780
llvm-svn: 84194
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
|