1 ; RUN: not --crash llc < %s -mtriple=powerpc64-unknown-linux-gnu 2>&1 | FileCheck %s
3 define i64 @get_reg() nounwind {
5 ; CHECK: Trying to reserve an invalid register "r2".
6 %reg = call i64 @llvm.read_register.i64(metadata !0)
10 declare i64 @llvm.read_register.i64(metadata) nounwind