blob: 7d2f50ed58a4b2e9af967d7d54899cd9f4a2b252 [file] [log] [blame]
Krzysztof Parzyszekfcbb7d12017-03-02 17:50:24 +00001; RUN: llc -march=hexagon < %s | FileCheck %s
2; REQUIRES: asserts
3
4; Make sure we can handle the 'q' constraint in the 128-byte mode.
5
6target triple = "hexagon"
7
8; CHECK-LABEL: fred
9; CHECK: if (q{{[0-3]}}) vmem
10define void @fred() #0 {
11 tail call void asm sideeffect "if ($0) vmem($1) = $2;", "q,r,v,~{memory}"(<32 x i32> undef, <32 x i32>* undef, <32 x i32> undef) #0
12 ret void
13}
14
Sumanth Gundapanenie1983bc2017-10-18 18:07:07 +000015attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length128b" }