8e12397d70
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
11 lines
227 B
LLVM
11 lines
227 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
|
|
|
|
|
@one_f = addrspace(4) global float 1.000000e+00, align 4
|
|
|
|
define float @foo() {
|
|
; CHECK: ld.const.f32
|
|
%val = load float, float addrspace(4)* @one_f
|
|
ret float %val
|
|
}
|