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