diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-10-07 12:03:46 +0100 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-10-07 12:03:48 +0100 |
commit | 0c554a4769f2e21233b687c7427c1a47f7bd375e (patch) | |
tree | 05a91f52863f838a62cddd55b5d7b6a93b09577d /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | b7ac68d01ef9a126ea0eb26b3526a78c9d39533a (diff) | |
download | llvm-0c554a4769f2e21233b687c7427c1a47f7bd375e.zip llvm-0c554a4769f2e21233b687c7427c1a47f7bd375e.tar.gz llvm-0c554a4769f2e21233b687c7427c1a47f7bd375e.tar.bz2 |
[libomptarget] Move device environment to shared header, remove divergence
Follow on to D110006, related to D110957
Where implementations have diverged this resolves to match the new DeviceRTL
- replaces definitions of this struct in deviceRTL and plugins with include
- changes the dynamic_shared_size field from D110006 to 32 bits
- handles stdint being unavailable in DeviceRTL
- adds a zero initializer for the field to amdgpu
- moves the extern declaration for deviceRTL to target_interface
(omptarget.h is more natural, but doesn't work due to include order
with debug.h)
- Renames the fields everywhere to match the LLVM format used in DeviceRTL
- Makes debug_level uint32_t everywhere (previously sometimes int32_t)
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D111069
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions