1 ; RUN: llc -march=hexagon < %s | FileCheck %s
4 ; CHECK: v1:0.w = vsub(v1:0.w,v1:0.w)
5 define <128 x i8> @f0() #0 {
6 ret <128 x i8> zeroinitializer
10 ; CHECK: v1:0.w = vsub(v1:0.w,v1:0.w)
11 define <64 x i16> @f1() #0 {
12 ret <64 x i16> zeroinitializer
16 ; CHECK: v1:0.w = vsub(v1:0.w,v1:0.w)
17 define <32 x i32> @f2() #0 {
18 ret <32 x i32> zeroinitializer
22 ; CHECK: v1:0.w = vsub(v1:0.w,v1:0.w)
23 define <256 x i8> @f3() #1 {
24 ret <256 x i8> zeroinitializer
28 ; CHECK: v1:0.w = vsub(v1:0.w,v1:0.w)
29 define <128 x i16> @f4() #1 {
30 ret <128 x i16> zeroinitializer
34 ; CHECK: v1:0.w = vsub(v1:0.w,v1:0.w)
35 define <64 x i32> @f5() #1 {
36 ret <64 x i32> zeroinitializer
39 attributes #0 = { readnone nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length64b" }
40 attributes #1 = { readnone nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length128b" }