]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/XCore/sr-intrinsics.ll
[XCore] Support functions returning more than 4 words.
[opencl/llvm.git] / test / CodeGen / XCore / sr-intrinsics.ll
1 ; RUN: llc < %s -march=xcore | FileCheck %s
2 declare void @llvm.xcore.setsr(i32)
3 declare void @llvm.xcore.clrsr(i32)
5 define void @setsr() nounwind {
6 ; CHECK-LABEL: setsr:
7 ; CHECK: setsr 128
8         call void @llvm.xcore.setsr(i32 128)
9         ret void
10 }
13 define void @clrsr() nounwind {
14 ; CHECK-LABEL: clrsr:
15 ; CHECK: clrsr 128
16         call void @llvm.xcore.clrsr(i32 128)
17         ret void
18 }