This change makes GCC7 happy again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309305
91177308-0d34-0410-b5e6-
96231b3b80d8
if (GlobalValue::isInterposableLinkage(GVSummary->linkage()))
// There is no point in importing these, we can't inline them
return false;
- if (auto *AS = dyn_cast<AliasSummary>(GVSummary))
+ if (isa<AliasSummary>(GVSummary))
// Aliases can't point to "available_externally".
// FIXME: we should import alias as available_externally *function*,
// the destination module does not need to know it is an alias.