1 ; RUN: not llc < %s -mtriple=powerpc-unknown-linux-gnu 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
5 define i32 @get_reg() nounwind {
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)
13 declare i32 @llvm.read_register.i32(metadata) nounwind