xref: /aosp_15_r20/external/llvm/test/CodeGen/NVPTX/pr16278.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
4@one_f = addrspace(4) global float 1.000000e+00, align 4
5
6define float @foo() {
7; CHECK: ld.const.f32
8  %val = load float, float addrspace(4)* @one_f
9  ret float %val
10}
11