1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s | FileCheck %s
4 target triple = "aarch64-unknown-linux-gnu"
6 define <2 x i64> @mul_v2i64(<2 x i64> %op1, <2 x i64> %op2) #0 {
7 ; CHECK-LABEL: mul_v2i64:
9 ; CHECK-NEXT: ptrue p0.d, vl2
10 ; CHECK-NEXT: // kill: def $q0 killed $q0 def $z0
11 ; CHECK-NEXT: // kill: def $q1 killed $q1 def $z1
12 ; CHECK-NEXT: mul z0.d, p0/m, z0.d, z1.d
13 ; CHECK-NEXT: // kill: def $q0 killed $q0 killed $z0
15 %res = mul <2 x i64> %op1, %op2
19 define <4 x i32> @sdiv_v4i32(<4 x i32> %op1, <4 x i32> %op2) #0 {
20 ; CHECK-LABEL: sdiv_v4i32:
22 ; CHECK-NEXT: ptrue p0.s, vl4
23 ; CHECK-NEXT: // kill: def $q0 killed $q0 def $z0
24 ; CHECK-NEXT: // kill: def $q1 killed $q1 def $z1
25 ; CHECK-NEXT: sdiv z0.s, p0/m, z0.s, z1.s
26 ; CHECK-NEXT: // kill: def $q0 killed $q0 killed $z0
28 %res = sdiv <4 x i32> %op1, %op2
32 attributes #0 = { "target-features"="+sve" }