1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-linux-gnu -O0 -run-pass=legalizer %s -o - | FileCheck %s
9 ; CHECK-LABEL: name: test_eve_1
10 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s64>) = COPY $q0
11 ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 1
12 ; CHECK: [[SEXT:%[0-9]+]]:_(s64) = G_SEXT [[C]](s32)
13 ; CHECK: [[EVEC:%[0-9]+]]:_(s64) = G_EXTRACT_VECTOR_ELT [[COPY]](<2 x s64>), [[SEXT]](s64)
14 ; CHECK: $x0 = COPY [[EVEC]](s64)
16 %0:_(<2 x s64>) = COPY $q0
17 %1:_(s32) = G_CONSTANT i32 1
18 %2:_(s64) = G_EXTRACT_VECTOR_ELT %0(<2 x s64>), %1(s32)