[PATCH] D100322: [ConstantMerge] Don't merge thread_local constants with non-thread_local constants

Amanieu d'Antras via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 28 11:57:51 PDT 2021


Amanieu added a comment.

I'm not even sure what it would *mean* to have an unnamed TLS constant: I would expect an earlier pass to convert it to a normal constant rather than having to it in ConstantMerge.

Also, AFAIK neither clang nor rustc will ever generate unnamed TLS constants.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100322



More information about the llvm-commits mailing list