1; RUN: not llc < %s -mtriple=powerpc-apple-darwin 2>&1 | FileCheck %s --check-prefix=CHECK-NOTPPC32 2; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu 2>&1 | FileCheck %s 3; RUN: not llc < %s -mtriple=powerpc64-unknown-linux-gnu 2>&1 | FileCheck %s --check-prefix=CHECK-NOTPPC32 4 5define i32 @get_reg() nounwind { 6entry: 7; FIXME: Include an allocatable-specific error message 8; CHECK-NOTPPC32: Invalid register name global variable 9 %reg = call i32 @llvm.read_register.i32(metadata !0) 10 ret i32 %reg 11 12; CHECK-LABEL: @get_reg 13; CHECK: mr 3, 2 14} 15 16declare i32 @llvm.read_register.i32(metadata) nounwind 17 18!0 = !{!"r2\00"} 19