Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,12 @@ static void createNewAliasScopesFromNoAliasParameter(
getUnderlyingObjectSet(pointer);
if (failed(underlyingObjectSet))
return;
llvm::copy(*underlyingObjectSet,
std::inserter(basedOnPointers, basedOnPointers.begin()));
// Switched from llvm::copy(*underlyingObjectSet,
// std::inserter(basedonPointers, ...)) to support libstdc++10 and
// C++20. We need to support this so that python bindings can be built
// with widely compatible versions of glibc.
for (Value v : *underlyingObjectSet)
basedOnPointers.insert(v);
}

bool aliasesOtherKnownObject = false;
Expand Down