1 ; RUN: not llc < %s -mtriple=arm64-apple-darwin 2>&1 | FileCheck %s
2 ; RUN: not llc < %s -mtriple=arm64-linux-gnueabi 2>&1 | FileCheck %s
4 define i32 @get_stack() nounwind {
6 ; CHECK: Invalid register name "notareg".
7 %sp = call i32 @llvm.read_register.i32(metadata !0)
11 declare i32 @llvm.read_register.i32(metadata) nounwind