We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695aa04 commit a074091Copy full SHA for a074091
mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
@@ -327,8 +327,12 @@ static void createNewAliasScopesFromNoAliasParameter(
327
getUnderlyingObjectSet(pointer);
328
if (failed(underlyingObjectSet))
329
return;
330
- llvm::copy(*underlyingObjectSet,
331
- std::inserter(basedOnPointers, basedOnPointers.begin()));
+ // Switched from llvm::copy(*underlyingObjectSet,
+ // std::inserter(basedonPointers, ...)) to support libstdc++10 and
332
+ // C++20. We need to support this so that python bindings can be built
333
+ // with widely compatible versions of glibc.
334
+ for (Value v : *underlyingObjectSet)
335
+ basedOnPointers.insert(v);
336
}
337
338
bool aliasesOtherKnownObject = false;
0 commit comments