14 lines · plain
1; RUN: not --crash llc < %s -mtriple=powerpc-unknown-linux-gnu 2>&1 | FileCheck %s2; RUN: not --crash llc < %s -mtriple=powerpc64-unknown-linux-gnu 2>&1 | FileCheck %s3 4define i32 @get_reg() nounwind {5entry:6; CHECK: Trying to reserve an invalid register "r0".7 %reg = call i32 @llvm.read_register.i32(metadata !0)8 ret i32 %reg9}10 11declare i32 @llvm.read_register.i32(metadata) nounwind12 13!0 = !{!"r0\00"}14