33 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s3--- |4 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"5 target triple = "aarch64"6 7 ; Function Attrs: noreturn nounwind8 declare void @llvm.trap() #09 10 define void @foo() {11 call void @llvm.trap()12 ret void13 }14 15 attributes #0 = { noreturn nounwind }16 17...18---19name: foo20alignment: 421legalized: true22regBankSelected: true23tracksRegLiveness: true24body: |25 bb.1 (%ir-block.0):26 ; CHECK-LABEL: name: foo27 ; CHECK: BRK 128 ; CHECK-NEXT: RET_ReallyLR29 G_TRAP30 RET_ReallyLR31 32...33