[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / CodeGen / X86 / GlobalISel / x86-select-trap.mir
blobbd181fb5f003b660a7eca9c1cd5281dd3ba275c7
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
4 --- |
5   declare void @llvm.trap() #0
7   define i32 @trap() #0 {
8     tail call void @llvm.trap()
9     unreachable
10   }
12   attributes #0 = { noreturn nounwind }
13   attributes #1 = { nounwind }
15 ...
16 ---
17 name:            trap
18 alignment:       4
19 legalized:       true
20 regBankSelected: true
21 tracksRegLiveness: true
22 body:             |
23   bb.1 (%ir-block.0):
24     ; CHECK-LABEL: name: trap
25     ; CHECK: TRAP
26     G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.trap)
28 ...