1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64 -run-pass=instruction-select -verify-machineinstrs -global-isel-abort=1 %s -o - | FileCheck %s
7 tracksRegLiveness: true
12 ; CHECK-LABEL: name: fadd_v2s32
14 ; CHECK: [[COPY:%[0-9]+]]:fpr64 = COPY $d0
15 ; CHECK: [[FADDPv2i32p:%[0-9]+]]:fpr32 = FADDPv2i32p [[COPY]]
16 ; CHECK: $w0 = COPY [[FADDPv2i32p]]
17 ; CHECK: RET_ReallyLR implicit $w0
18 %0:fpr(<2 x s32>) = COPY $d0
19 %1:fpr(s32) = G_VECREDUCE_FADD %0(<2 x s32>)
21 RET_ReallyLR implicit $w0
28 tracksRegLiveness: true
33 ; CHECK-LABEL: name: fadd_v2s64
35 ; CHECK: [[COPY:%[0-9]+]]:fpr128 = COPY $q0
36 ; CHECK: [[FADDPv2i64p:%[0-9]+]]:fpr64 = FADDPv2i64p [[COPY]]
37 ; CHECK: $x0 = COPY [[FADDPv2i64p]]
38 ; CHECK: RET_ReallyLR implicit $x0
39 %0:fpr(<2 x s64>) = COPY $q0
40 %2:fpr(s64) = G_VECREDUCE_FADD %0(<2 x s64>)
42 RET_ReallyLR implicit $x0