diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-03-23 21:16:33 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-03-23 21:16:33 +0000 |
| commit | f2e71244c6274984c33df9a58a78fcf71218ee21 (patch) | |
| tree | a2dbe36cac4b3a6134c50acd38d58a629d4153c3 /llvm/lib/Target/AMDGPU/R600MachineScheduler.cpp | |
| parent | 3c0bc9697a97cb4d1e50423b28419eb3fa80b7de (diff) | |
| download | bcm5719-llvm-f2e71244c6274984c33df9a58a78fcf71218ee21.tar.gz bcm5719-llvm-f2e71244c6274984c33df9a58a78fcf71218ee21.zip | |
Fix logic for which symbols to keep with comdats.
If a comdat is dropped, all symbols in it are dropped.
If a comdat is kept, the symbols survive to pass regular symbol
resolution.
With this patch we do that for all global symbols.
The added test is a copy of test/tools/gold/X86/comdat.ll that we now
pass.
llvm-svn: 264192
Diffstat (limited to 'llvm/lib/Target/AMDGPU/R600MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions

