repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
NVPTX
/
disable-opt.ll
blob
15e4913c169527935530c5db2ab63d52e31eca0a
1
; RUN: llc < %s -march=nvptx -mcpu=sm_20 -O0 | FileCheck %s
2
3
define void @foo(i32* %output) {
4
; CHECK-LABEL: .visible .func foo(
5
entry:
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
}