1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -O0 -march=aarch64 -run-pass=legalizer -global-isel-abort=1 %s -o - | FileCheck %s 3 4--- 5name: fadd_v2s32 6tracksRegLiveness: true 7body: | 8 bb.1: 9 liveins: $d0 10 11 ; CHECK-LABEL: name: fadd_v2s32 12 ; CHECK: liveins: $d0 13 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s32>) = COPY $d0 14 ; CHECK: [[VECREDUCE_FADD:%[0-9]+]]:_(s32) = G_VECREDUCE_FADD [[COPY]](<2 x s32>) 15 ; CHECK: $w0 = COPY [[VECREDUCE_FADD]](s32) 16 ; CHECK: RET_ReallyLR implicit $w0 17 %0:_(<2 x s32>) = COPY $d0 18 %1:_(s32) = G_VECREDUCE_FADD %0(<2 x s32>) 19 $w0 = COPY %1(s32) 20 RET_ReallyLR implicit $w0 21 22... 23--- 24name: fadd_v2s64 25tracksRegLiveness: true 26body: | 27 bb.1: 28 liveins: $q0 29 30 ; CHECK-LABEL: name: fadd_v2s64 31 ; CHECK: liveins: $q0 32 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s64>) = COPY $q0 33 ; CHECK: [[VECREDUCE_FADD:%[0-9]+]]:_(s64) = G_VECREDUCE_FADD [[COPY]](<2 x s64>) 34 ; CHECK: $x0 = COPY [[VECREDUCE_FADD]](s64) 35 ; CHECK: RET_ReallyLR implicit $x0 36 %0:_(<2 x s64>) = COPY $q0 37 %2:_(s64) = G_VECREDUCE_FADD %0(<2 x s64>) 38 $x0 = COPY %2(s64) 39 RET_ReallyLR implicit $x0 40 41... 42