[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / NVPTX / managed.ll
1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
4 ; CHECK: .visible .global .align 4 .u32 device_g;
5 @device_g = addrspace(1) global i32 zeroinitializer
6 ; CHECK: .visible .global .attribute(.managed) .align 4 .u32 managed_g;
7 @managed_g = addrspace(1) global i32 zeroinitializer
8
9
10 !nvvm.annotations = !{!0}
11 !0 = !{i32 addrspace(1)* @managed_g, !"managed", i32 1}