summaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX/ldparam-v4.ll
blob: ec306aafe85499dd39c108d9987918c3bd647f6a (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s

declare <4 x float> @bar()

define void @foo(<4 x float>* %ptr) {
; CHECK: ld.param.v4.f32
  %val = tail call <4 x float> @bar()
  store <4 x float> %val, <4 x float>* %ptr
  ret void
}