Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

13 lines
279 B
LLVM

; RUN: llc < %s -march=nvptx -mcpu=sm_20 -O0 | FileCheck %s
define void @foo(i32* %output) {
; CHECK-LABEL: .visible .func foo(
entry:
%local = alloca i32
; CHECK: __local_depot
store i32 1, i32* %local
%0 = load i32, i32* %local
store i32 %0, i32* %output
ret void
}