[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / NVPTX / ldparam-v4.ll
1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3 declare <4 x float> @bar()
4
5 define void @foo(<4 x float>* %ptr) {
6 ; CHECK: ld.param.v4.f32
7   %val = tail call <4 x float> @bar()
8   store <4 x float> %val, <4 x float>* %ptr
9   ret void
10 }