1 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
2 ; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
4 ; Check that parameter names we generate in the function signature and the name
5 ; we use when we refer to the parameter in the function body do match.
7 ; CHECK: .func (.param .b32 func_retval0) __unnamed_1(
8 ; CHECK-NEXT: .param .b32 __unnamed_1_param_0
9 ; CHECK: ld.param.u32 {{%r[0-9]+}}, [__unnamed_1_param_0];
11 define internal i32 @0(i32 %a) {
17 ; CHECK: .func (.param .b32 func_retval0) __unnamed_2(
18 ; CHECK-NEXT: .param .b32 __unnamed_2_param_0
19 ; CHECK: ld.param.u32 {{%r[0-9]+}}, [__unnamed_2_param_0];
21 define internal i32 @1(i32 %a) {