1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2 # RUN: llc -mtriple=aarch64-unknown-linux-gnu -run-pass=greedy,machinelicm -verify-machineinstrs -o - %s | FileCheck %s
4 # FIXME: Running RA is needed otherwise it runs pre-RA LICM.
7 tracksRegLiveness: true
9 ; CHECK-LABEL: name: test
11 ; CHECK-NEXT: successors: %bb.1(0x80000000)
12 ; CHECK-NEXT: liveins: $x0, $w1, $x2
17 ; CHECK-NEXT: successors: %bb.1(0x40000000), %bb.2(0x40000000)
18 ; CHECK-NEXT: liveins: $x0, $w1, $x2
20 ; CHECK-NEXT: renamable $q11 = MOVIv4i32 2, 8
21 ; CHECK-NEXT: BL &memset, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit $w1, implicit $x2, implicit-def $sp, implicit-def $x0
22 ; CHECK-NEXT: renamable $q10 = MVNIv4i32 4, 0
23 ; CHECK-NEXT: $xzr = SUBSXri $x0, 1, 0, implicit-def $nzcv
24 ; CHECK-NEXT: Bcc 11, %bb.1, implicit $nzcv
28 ; CHECK-NEXT: liveins: $q10, $q11
30 ; CHECK-NEXT: $q0 = COPY $q10
31 ; CHECK-NEXT: $q1 = COPY $q11
33 liveins: $x0, $w1, $x2
37 liveins: $x0, $w1, $x2
38 renamable $q11 = MOVIv4i32 2, 8
39 BL &memset, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit $w1, implicit $x2, implicit-def $sp, implicit-def $x0
40 renamable $q10 = MVNIv4i32 4, 0
41 $xzr = SUBSXri $x0, 1, 0, implicit-def $nzcv
42 Bcc 11, %bb.1, implicit $nzcv