diff options
author | Joseph Huber <35342157+jhuber6@users.noreply.github.com> | 2023-10-05 17:10:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 17:10:03 -0500 |
commit | 1d959f932752b39cd535cb22f043333e348a4b01 (patch) | |
tree | 512056cc79c12755c1c8c3926301a0824630b89f /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | d6254e1b2e6d1792d3a7085bd05d86adce15757e (diff) | |
download | llvm-1d959f932752b39cd535cb22f043333e348a4b01.zip llvm-1d959f932752b39cd535cb22f043333e348a4b01.tar.gz llvm-1d959f932752b39cd535cb22f043333e348a4b01.tar.bz2 |
[OpenMP] Prevent AMDGPU from overriding visibility on DT_nohost variables (#68264)
Summary:
There's some logic in the AMDGPU target that manually resets the
requested visibility of certain variables. This was triggering when we
set a constant variable in OpenMP. However, we shouldn't do this for
OpenMP when the variable has the `nohost` type. That implies that the
variable is not visible to the host and therefore does not need to be
visible, so we should respect the original value of it.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions