aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/NVPTX/vector-call.ll
blob: a03d7fd41914e9dc1582c509e94479e40ab6a586 (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
}