forked from OSchip/llvm-project
22 lines
756 B
YAML
22 lines
756 B
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -mtriple=aarch64-linux-gnu -O0 -run-pass=legalizer %s -o - | FileCheck %s
|
|
|
|
---
|
|
name: test_eve_1
|
|
body: |
|
|
bb.0:
|
|
liveins: $q0
|
|
; CHECK-LABEL: name: test_eve_1
|
|
; CHECK: [[COPY:%[0-9]+]]:_(<2 x s64>) = COPY $q0
|
|
; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 1
|
|
; CHECK: [[SEXT:%[0-9]+]]:_(s64) = G_SEXT [[C]](s32)
|
|
; CHECK: [[EVEC:%[0-9]+]]:_(s64) = G_EXTRACT_VECTOR_ELT [[COPY]](<2 x s64>), [[SEXT]](s64)
|
|
; CHECK: $x0 = COPY [[EVEC]](s64)
|
|
; CHECK: RET_ReallyLR
|
|
%0:_(<2 x s64>) = COPY $q0
|
|
%1:_(s32) = G_CONSTANT i32 1
|
|
%2:_(s64) = G_EXTRACT_VECTOR_ELT %0(<2 x s64>), %1(s32)
|
|
$x0 = COPY %2(s64)
|
|
RET_ReallyLR
|
|
...
|