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