<commit_before>; RUN: llc < %s -march=ptx32 -mattr=sm20 | FileCheck %s

define ptx_device float @stack1(float %a) {
  ; CHECK: .local .b32 __local0;
  %a.2 = alloca float
  ; CHECK: st.local.f32 [__local0], %f0
  store float %a, float* %a.2
  %a.3 = load float* %a.2
  ret float %a.3
}<commit_msg>PTX: Add .align tests to stack object test file<commit_after>; RUN: llc < %s -march=ptx32 -mattr=sm20 | FileCheck %s

define ptx_device float @stack1(float %a) {
  ; CHECK: .local .align 4 .b32 __local0;
  %a.2 = alloca float, align 4
  ; CHECK: st.local.f32 [__local0], %f0
  store float %a, float* %a.2
  %a.3 = load float* %a.2
  ret float %a.3
}

define ptx_device float @stack1_align8(float %a) {
  ; CHECK: .local .align 8 .b32 __local0;
  %a.2 = alloca float, align 8
  ; CHECK: st.local.f32 [__local0], %f0
  store float %a, float* %a.2
  %a.3 = load float* %a.2
  ret float %a.3
}
{'fraction_non_alphanumeric': 0.154627539503386, 'fraction_numerical': 0.05869074492099323, 'mean_word_length': 3.223809523809524, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4647620', 'n_tokens_mistral': 400, 'n_tokens_neox': 382, 'n_words': 116}