view test/CodeGen/NVPTX/pr16278.ll @ 100:7d135dc70f03

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents afa8332a0e37
children
line wrap: on
line source

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