Justin Holewinski | e5a1173 | 2014-07-17 16:58:56 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s |
2 | |||||
3 | target triple = "nvptx-unknown-cuda" | ||||
4 | |||||
5 | declare void @bar(<4 x i32>) | ||||
6 | |||||
7 | ; CHECK-LABEL @foo | ||||
8 | define void @foo(<4 x i32> %a) { | ||||
9 | ; CHECK: st.param.v4.b32 | ||||
10 | tail call void @bar(<4 x i32> %a) | ||||
11 | ret void | ||||
12 | } |