mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
3f339ad775
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296772 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
477 B
LLVM
16 lines
477 B
LLVM
; 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}"(<32 x i32> undef, <32 x i32>* undef, <32 x i32> undef) #0
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-double" }
|