Home | History | Annotate | Download | only in NVPTX
      1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
      2 
      3 ; Make sure aggregate param types get emitted properly.
      4 
      5 %struct.float4 = type { float, float, float, float }
      6 
      7 ; CHECK: .visible .func bar
      8 ; CHECK:   .param .align 4 .b8 bar_param_0[16]
      9 define void @bar(%struct.float4 %f) {
     10 entry:
     11   ret void
     12 }
     13 
     14 ; CHECK: .visible .func foo
     15 ; CHECK:   .param .align 4 .b8 foo_param_0[20]
     16 define void @foo([5 x i32] %f) {
     17 entry:
     18   ret void
     19 }
     20 
     21