• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu 2>&1 | FileCheck %s
2
3define i64 @get_reg() nounwind {
4entry:
5  %reg = call i64 @llvm.read_register.i64(metadata !0)
6  ret i64 %reg
7
8; CHECK-LABEL: @get_reg
9; CHECK: mr 3, 13
10
11}
12
13declare i64 @llvm.read_register.i64(metadata) nounwind
14
15!0 = !{!"r13\00"}
16