1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
5 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
7 define void @SMADDLrrr_gpr() { ret void }
16 - { id: 0, class: gpr }
17 - { id: 1, class: gpr }
18 - { id: 2, class: gpr }
19 - { id: 3, class: gpr }
20 - { id: 4, class: gpr }
21 - { id: 5, class: gpr }
22 - { id: 6, class: gpr }
26 liveins: $x0, $w1, $w2
28 ; CHECK-LABEL: name: SMADDLrrr_gpr
29 ; CHECK: [[COPY:%[0-9]+]]:gpr64 = COPY $x0
30 ; CHECK: [[COPY1:%[0-9]+]]:gpr32 = COPY $w1
31 ; CHECK: [[COPY2:%[0-9]+]]:gpr32 = COPY $w2
32 ; CHECK: [[SMADDLrrr:%[0-9]+]]:gpr64 = SMADDLrrr [[COPY1]], [[COPY2]], [[COPY]]
33 ; CHECK: $x0 = COPY [[SMADDLrrr]]
39 %5(s64) = G_MUL %3, %4
40 %6(s64) = G_ADD %0, %5