brintos

brintos / llvm-project-archived public Read only

0
0
Text · 475 B · 4f2d196 Raw
16 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; REQUIRES: asserts3 4; Make sure we can handle the 'q' constraint in the 128-byte mode.5 6target triple = "hexagon"7 8; CHECK-LABEL: fred9; CHECK: if (q{{[0-3]}}) vmem10define void @fred() #0 {11  tail call void asm sideeffect "if ($0) vmem($1) = $2;", "q,r,v,~{memory}"(<128 x i1> undef, ptr undef, <32 x i32> undef) #012  ret void13}14 15attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length128b" }16