Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / select-trap.mir
blob25ecce4dd92bf89857da990ecfe43dabde7d296d
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
3 --- |
4   target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
5   target triple = "aarch64"
7   ; Function Attrs: noreturn nounwind
8   declare void @llvm.trap() #0
10   define void @foo() {
11     call void @llvm.trap()
12     ret void
13   }
15   attributes #0 = { noreturn nounwind }
17 ...
18 ---
19 name:            foo
20 alignment:       4
21 legalized:       true
22 regBankSelected: true
23 tracksRegLiveness: true
24 body:             |
25   bb.1 (%ir-block.0):
26     ; CHECK-LABEL: name: foo
27     ; CHECK: BRK 1
28     ; CHECK: RET_ReallyLR
29     G_TRAP
30     RET_ReallyLR
32 ...