llvm-for-llvmta/test/CodeGen/NVPTX/pr16278.ll

11 lines
227 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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
}