summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/NVPTX/vector-call.ll
blob: 968d1d4a5f51a7eaa3f56dd6b32f2d6548366264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s

target triple = "nvptx-unknown-cuda"

declare void @bar(<4 x i32>)

; CHECK-LABEL: @foo
define void @foo(<4 x i32> %a) {
; CHECK: st.param.v4.b32
  tail call void @bar(<4 x i32> %a)
  ret void
}
OpenPOWER on IntegriCloud