1 ; RUN: llc -mtriple=sparc64-linux-gnu -mattr=+reserve-l0 -o - %s | FileCheck %s --check-prefixes=CHECK-RESERVED-L0
3 ;; Ensure explicit register references are catched as well.
5 ; CHECK-RESERVED-L0: %l0
6 define void @set_reg(i32 zeroext %x) {
8 tail call void @llvm.write_register.i32(metadata !0, i32 %x)
12 declare void @llvm.write_register.i32(metadata, i32)