1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+noabicalls \
3 ; RUN: < %s | FileCheck %s
5 declare i64 @llvm.read_register.i64(metadata)
11 ; CHECK-NEXT: move $2, $gp
12 %1 = call i64 @llvm.read_register.i64(metadata !0)
16 define i64 @get_sp() {
17 ; CHECK-LABEL: get_sp:
20 ; CHECK-NEXT: move $2, $sp
21 %1 = call i64 @llvm.read_register.i64(metadata !1)
25 !llvm.named.register.$28 = !{!0}
26 !llvm.named.register.sp = !{!1}