1; RUN: not llc < %s -mtriple=powerpc-apple-darwin 2>&1 | FileCheck %s 2; RUN: not 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 4 5define i32 @get_reg() nounwind { 6entry: 7; FIXME: Include an allocatable-specific error message 8; CHECK: Invalid register name global variable 9 %reg = call i32 @llvm.read_register.i32(metadata !0) 10 ret i32 %reg 11} 12 13declare i32 @llvm.read_register.i32(metadata) nounwind 14 15!0 = !{!"r0\00"} 16