summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/avoid_complex_am.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-05-20 19:00:58 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-05-20 19:00:58 +0000
commite432c510dc017b875ce134764e270a9963f24985 (patch)
tree3d8a505fc7d9b38984e61b13a2f018e5f67dd1ab /llvm/test/CodeGen/X86/avoid_complex_am.ll
parent1d9aec67b07a9b489d40f3d10d1ade056edf0c8c (diff)
downloadbcm5719-llvm-e432c510dc017b875ce134764e270a9963f24985.tar.gz
bcm5719-llvm-e432c510dc017b875ce134764e270a9963f24985.zip
GlobalValue: Automatically reset visibility when setting local linkage
r208264 started asserting in `setLinkage()` and `setVisibility()` that visibility and linkage are compatible. There are a few places in clang where visibility is set first, and then linkage later, so the assert fires. In `setLinkage()`, it's clear what the visibility *should* be, so rather than updating all the call sites just automatically fix the visibility. The testcase for this is for *clang*, so it'll follow separately in cfe. PR19760 llvm-svn: 209227
Diffstat (limited to 'llvm/test/CodeGen/X86/avoid_complex_am.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud