aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorJonChesterfield <jonathanchesterfield@gmail.com>2020-10-28 14:22:27 +0000
committerJon Chesterfield <jonathanchesterfield@gmail.com>2020-10-28 14:25:36 +0000
commit5d02ca49a294848b533adf7dc1d1275d125ef587 (patch)
tree166a2d8e4d28fd2831bdbc1449e12ab0188a2966 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parentafc44efc262b27e8d6cdcf86d40a820ecd450520 (diff)
downloadllvm-5d02ca49a294848b533adf7dc1d1275d125ef587.zip
llvm-5d02ca49a294848b533adf7dc1d1275d125ef587.tar.gz
llvm-5d02ca49a294848b533adf7dc1d1275d125ef587.tar.bz2
[libomptarget][nvptx] Undef, weak shared variables
[libomptarget][nvptx] Undef, weak shared variables Shared variables on nvptx, and LDS on amdgcn, are uninitialized at the start of kernel execution. Therefore create the variables with undef instead of zeros, motivated in part by the amdgcn back end rejecting LDS+initializer. Common is zero initialized, which seems incompatible with shared. Thus change them to weak, following the direction of https://reviews.llvm.org/rG7b3eabdcd215 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D90248
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions