repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
NVPTX
/
pr16278.ll
blob
1696b3cf366d6eee0cc306e5abac174ee9ca06e1
1
; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
2
; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
3
4
@one_f = addrspace(4) global float 1.000000e+00, align 4
5
6
define float @foo() {
7
; CHECK: ld.const.f32
8
%val = load float, ptr addrspace(4) @one_f
9
ret float %val
10
}