14 lines · plain
1; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 -O0 | FileCheck %s2; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 -O0 | %ptxas-verify %}3 4define void @foo(ptr %output) {5; CHECK-LABEL: .visible .func foo(6entry:7 %local = alloca i328; CHECK: __local_depot9 store i32 1, ptr %local10 %0 = load i32, ptr %local11 store i32 %0, ptr %output12 ret void13}14