• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3target triple = "nvptx-unknown-cuda"
4
5; CHECK: .visible .func foo
6define void @foo(<8 x i8> %a, i8* %b) {
7  %t0 = extractelement <8 x i8> %a, i32 0
8; CHECK-DAG: ld.param.v4.u8
9; CHECK-DAG: ld.param.u32
10  store i8 %t0, i8* %b
11  ret void
12}
13
14