mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183652 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
220 B
LLVM
11 lines
220 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 addrspace(4)* @one_f
|
|
ret float %val
|
|
}
|