1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; Check that constraints q and v are handled correctly.
4 ; CHECK: q{{.}} = vgtw(v{{.}}.w,v{{.}}.w)
8 target triple = "hexagon"
10 ; Function Attrs: nounwind
11 define void @foo(<16 x i32> %v0, <16 x i32> %v1, <16 x i32>* nocapture %p) #0 {
13 %0 = tail call <16 x i32> asm "$0 = vgtw($1.w,$2.w)", "=q,v,v"(<16 x i32> %v0, <16 x i32> %v1) #1
14 store <16 x i32> %0, <16 x i32>* %p, align 64
18 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvxv60,+hvx-length64b" }
19 attributes #1 = { nounwind readnone }