You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
227 B

; 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
}