29 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s3 4--- |5 declare void @llvm.trap() #06 7 define i32 @trap() #0 {8 tail call void @llvm.trap()9 unreachable10 }11 12 attributes #0 = { noreturn nounwind }13 attributes #1 = { nounwind }14 15...16---17name: trap18alignment: 1619legalized: true20regBankSelected: true21tracksRegLiveness: true22body: |23 bb.1 (%ir-block.0):24 ; CHECK-LABEL: name: trap25 ; CHECK: TRAP26 G_TRAP27 28...29