[PATCH] D108421: Mark openmp internal global dso_local

kamlesh kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 21 07:45:10 PDT 2021


kamleshbhalui added a comment.

In D108421#2958745 <https://reviews.llvm.org/D108421#2958745>, @lebedev.ri wrote:

> In D108421#2958742 <https://reviews.llvm.org/D108421#2958742>, @kamleshbhalui wrote:
>
>> assume dso local if relocation model static
>
> I think these are two separate fixes. `TargetMachine::shouldAssumeDSOLocal()` change might make sense,
> but as the comment there notes, this really should be fixed in in `CGOpenMPRuntime::getOrCreateInternalVariable()` itself (is that not the right default?),
> and in it's every user that incorrectly unmarks said global as being `dso_local.

Please see this revision https://reviews.llvm.org/differential/diff/367953/
Should I get back to this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108421/new/

https://reviews.llvm.org/D108421



More information about the llvm-commits mailing list