[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / legalize-intrinsic-get-dynamic-area-offset.mir
bloba157554132530302c0fc191dc1bfc4949e4dc9f3
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
3 # RUN:llc %s -verify-machineinstrs -mtriple=aarch64-unknown-unknown -run-pass=legalizer -o - | FileCheck %s
5 ...
6 ---
7 name:            test_64
8 alignment:       4
9 tracksRegLiveness: true
10 machineFunctionInfo: {}
11 body:             |
12   bb.0:
13     liveins:
14     ; CHECK-LABEL: name: test_64
15     ; CHECK: %v:_(s64) = G_CONSTANT i64 0
16     ; CHECK: $x0 = COPY %v(s64)
17     ; CHECK: RET_ReallyLR implicit $x0
18     %v:_(s64) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.get.dynamic.area.offset)
19     $x0 = COPY %v(s64)
20     RET_ReallyLR implicit $x0
22 ...
23 ---
24 name:            test_32
25 alignment:       4
26 tracksRegLiveness: true
27 machineFunctionInfo: {}
28 body:             |
29   bb.0:
30     liveins:
31     ; CHECK-LABEL: name: test_32
32     ; CHECK: %v:_(s32) = G_CONSTANT i32 0
33     ; CHECK: $w0 = COPY %v(s32)
34     ; CHECK: RET_ReallyLR implicit $w0
35     %v:_(s32) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.get.dynamic.area.offset)
36     $w0 = COPY %v(s32)
37     RET_ReallyLR implicit $w0
39 ...