1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu 2>&1 | FileCheck %s
2 ; RUN: not llc < %s -mtriple=powerpc64-unknown-linux-gnu 2>&1 | FileCheck %s --check-prefix=CHECK-NOTPPC32
4 define i32 @get_reg() nounwind {
6 ; FIXME: Include an allocatable-specific error message
7 ; CHECK-NOTPPC32: Invalid register name global variable
8 %reg = call i32 @llvm.read_register.i32(metadata !0)
11 ; CHECK-LABEL: @get_reg
15 declare i32 @llvm.read_register.i32(metadata) nounwind