[ARM] Split large truncating MVE stores
[llvm-complete.git] / test / CodeGen / XCore / sr-intrinsics.ll
blob2c4175d94a9c356364a6c75d02aa3d124d700f44
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
13 define void @clrsr() nounwind {
14 ; CHECK-LABEL: clrsr:
15 ; CHECK: clrsr 128
16         call void @llvm.xcore.clrsr(i32 128)
17         ret void