AMDGPU: Preserve alignments on new created globals
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 5 Feb 2016 19:47:23 +0000 (19:47 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 5 Feb 2016 19:47:23 +0000 (19:47 +0000)
commitcf84e26fb66e4ebab4a9338f4e59b768c612a0ca
treed2c8cdbaa26b784d881043b66e6714237fe9e907
parentfb9b6cd24b26a3e57b627be06415adf3a881435f
AMDGPU: Preserve alignments on new created globals

Also switch to internal linkage, and include the name of the function in
the name.

llvm-svn: 259911
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
llvm/test/CodeGen/AMDGPU/private-memory.ll
llvm/test/CodeGen/AMDGPU/promote-alloca-mem-intrinsics.ll