diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-08-10 01:07:44 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-08-10 01:07:44 +0000 |
| commit | 00f808ffcc36d3f6b903f5dbf09469ed88c6eba3 (patch) | |
| tree | ec2ad6bc1a833f467c11b06e723edb85e239d937 /llvm/lib/Analysis/LoopAnalysisManager.cpp | |
| parent | ba69187988ad87aed456608f36febb6f05047370 (diff) | |
| download | bcm5719-llvm-00f808ffcc36d3f6b903f5dbf09469ed88c6eba3.tar.gz bcm5719-llvm-00f808ffcc36d3f6b903f5dbf09469ed88c6eba3.zip | |
Linker: Create a function declaration when moving a non-prevailing alias of function type.
We were previously creating a global variable of function type,
which is invalid IR. This issue was exposed by r304690, in which we
started asserting that global variables were of a valid type.
Fixes PR33462.
Differential Revision: https://reviews.llvm.org/D36438
llvm-svn: 310543
Diffstat (limited to 'llvm/lib/Analysis/LoopAnalysisManager.cpp')
0 files changed, 0 insertions, 0 deletions

