diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-07-20 20:35:30 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-07-20 20:35:30 +0000 |
commit | eab97d3d47e24f208b964fb4a15475836a33ba82 (patch) | |
tree | ac50590df345c7c52349d664d0ca43bf732146cd /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 93d608c3c3ecc7ce55a4b7f3281240a864f11b1c (diff) | |
download | llvm-eab97d3d47e24f208b964fb4a15475836a33ba82.zip llvm-eab97d3d47e24f208b964fb4a15475836a33ba82.tar.gz llvm-eab97d3d47e24f208b964fb4a15475836a33ba82.tar.bz2 |
Fix a case where we forgot to make a static local variable comdat
Sometimes we can provide an initializer for static locals, in which case
we sometimes might need to change the type. Changing the type requires
making a new LLVM GlobalVariable, and in this codepath we were
forgetting to transfer the comdat.
Fixes PR23838.
Patch by Ivan Garramona.
llvm-svn: 242704
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions