• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=nvptx -mcpu=sm_20 -O0 | FileCheck %s
2
3define void @foo(i32* %output) {
4; CHECK-LABEL: .visible .func foo(
5entry:
6  %local = alloca i32
7; CHECK: __local_depot
8  store i32 1, i32* %local
9  %0 = load i32, i32* %local
10  store i32 %0, i32* %output
11  ret void
12}
13