1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=aarch64 -o - -run-pass=legalizer %s | FileCheck %s
6 tracksRegLiveness: true
11 ; CHECK-LABEL: name: load_v4s32
12 ; CHECK: liveins: $x0, $x1
13 ; CHECK: [[COPY:%[0-9]+]]:_(p0) = COPY $x0
14 ; CHECK: [[COPY1:%[0-9]+]]:_(p0) = COPY $x1
15 ; CHECK: [[LOAD:%[0-9]+]]:_(<4 x s32>) = G_LOAD [[COPY]](p0) :: (load (<4 x s32>))
16 ; CHECK: G_STORE [[LOAD]](<4 x s32>), [[COPY1]](p0) :: (store (<4 x s32>))
19 %2:_(<4 x s32>) = G_LOAD %0(p0) :: (load (<4 x s32>))
20 G_STORE %2(<4 x s32>), %1(p0) :: (store (<4 x s32>))
26 tracksRegLiveness: true
31 ; CHECK-LABEL: name: load_v2s64
32 ; CHECK: liveins: $x0, $x1
33 ; CHECK: [[COPY:%[0-9]+]]:_(p0) = COPY $x0
34 ; CHECK: [[COPY1:%[0-9]+]]:_(p0) = COPY $x1
35 ; CHECK: [[LOAD:%[0-9]+]]:_(<2 x s64>) = G_LOAD [[COPY]](p0) :: (load (<2 x s64>))
36 ; CHECK: G_STORE [[LOAD]](<2 x s64>), [[COPY1]](p0) :: (store (<2 x s64>))
39 %2:_(<2 x s64>) = G_LOAD %0(p0) :: (load (<2 x s64>))
40 G_STORE %2(<2 x s64>), %1(p0) :: (store (<2 x s64>))