• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=xcore | FileCheck %s
2declare void @llvm.xcore.setsr(i32)
3declare void @llvm.xcore.clrsr(i32)
4
5define void @setsr() nounwind {
6; CHECK-LABEL: setsr:
7; CHECK: setsr 128
8	call void @llvm.xcore.setsr(i32 128)
9	ret void
10}
11
12
13define void @clrsr() nounwind {
14; CHECK-LABEL: clrsr:
15; CHECK: clrsr 128
16	call void @llvm.xcore.clrsr(i32 128)
17	ret void
18}
19