1 ; RUN: llc < %s -march=ptx32 -mattr=sm20 | FileCheck %s
3 define ptx_device float @stack1(float %a) {
4 ; CHECK: .local .align 4 .b8 __local0[4];
5 %a.2 = alloca float, align 4
6 ; CHECK: st.local.f32 [__local0], %f0
7 store float %a, float* %a.2
8 %a.3 = load float* %a.2
12 define ptx_device float @stack1_align8(float %a) {
13 ; CHECK: .local .align 8 .b8 __local0[4];
14 %a.2 = alloca float, align 8
15 ; CHECK: st.local.f32 [__local0], %f0
16 store float %a, float* %a.2
17 %a.3 = load float* %a.2