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
15 ; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr64 = COPY $d0
16 ; CHECK-NEXT: [[FADDPv2i32p:%[0-9]+]]:fpr32 = nofpexcept FADDPv2i32p [[COPY]], implicit $fpcr
17 ; CHECK-NEXT: $w0 = COPY [[FADDPv2i32p]]
18 ; CHECK-NEXT: RET_ReallyLR implicit $w0
19 %0:fpr(<2 x s32>) = COPY $d0
20 %1:fpr(s32) = G_VECREDUCE_FADD %0(<2 x s32>)
22 RET_ReallyLR implicit $w0
29 tracksRegLiveness: true
34 ; CHECK-LABEL: name: fadd_v2s64
37 ; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr128 = COPY $q0
38 ; CHECK-NEXT: [[FADDPv2i64p:%[0-9]+]]:fpr64 = nofpexcept FADDPv2i64p [[COPY]], implicit $fpcr
39 ; CHECK-NEXT: $x0 = COPY [[FADDPv2i64p]]
40 ; CHECK-NEXT: RET_ReallyLR implicit $x0
41 %0:fpr(<2 x s64>) = COPY $q0
42 %2:fpr(s64) = G_VECREDUCE_FADD %0(<2 x s64>)
44 RET_ReallyLR implicit $x0