You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
481 B
16 lines
481 B
; RUN: llc -march=hexagon < %s | FileCheck %s
|
|
; REQUIRES: asserts
|
|
|
|
; Make sure we can handle the 'q' constraint in the 128-byte mode.
|
|
|
|
target triple = "hexagon"
|
|
|
|
; CHECK-LABEL: fred
|
|
; CHECK: if (q{{[0-3]}}) vmem
|
|
define void @fred() #0 {
|
|
tail call void asm sideeffect "if ($0) vmem($1) = $2;", "q,r,v,~{memory}"(<128 x i1> undef, <32 x i32>* undef, <32 x i32> undef) #0
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length128b" }
|