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 0ba5958 commit 274e798Copy full SHA for 274e798
flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
@@ -303,9 +303,9 @@ void DerivedTypeCache::postComponentVisitUpdate(
303
return;
304
ActiveLevels oldLevels;
305
oldLevels.swap(activeRecursionLevels);
306
- std::merge(componentActiveRecursionLevels.begin(),
307
- componentActiveRecursionLevels.end(), oldLevels.begin(),
308
- oldLevels.end(), std::back_inserter(activeRecursionLevels));
+ std::set_union(componentActiveRecursionLevels.begin(),
+ componentActiveRecursionLevels.end(), oldLevels.begin(),
+ oldLevels.end(), std::back_inserter(activeRecursionLevels));
309
}
310
311
void DerivedTypeCache::finalize(mlir::Type ty, mlir::LLVM::DITypeAttr attr,
0 commit comments