[CodeGen] Don't treat thread local globals as large data (#67764)
authorArthur Eubanks <aeubanks@google.com>
Fri, 29 Sep 2023 19:56:53 +0000 (12:56 -0700)
committerTobias Hieta <tobias@hieta.se>
Mon, 2 Oct 2023 17:23:20 +0000 (19:23 +0200)
commit33e14ecd6aac8c61c055921dd6e564d170fe34d6
tree40a6de6744a20904c3ea66d48425364d06b126ea
parent03f797b51df664970322e80da6c4149b11dcad39
[CodeGen] Don't treat thread local globals as large data (#67764)

Otherwise they may mistakenly get the large section flag.

(cherry picked from commit b915f60678c3033c466611be1119a46ba4b0869c)
(fix was slightly different since cherry-pick didn't apply well)
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/code-model-elf-sections.ll