Fixes a bug where dynamic pass pipelines of cloned pass managers weren't being initialized properly.
OpPassManager::OpPassManager(const OpPassManager &rhs) { *this = rhs; }
OpPassManager &OpPassManager::operator=(const OpPassManager &rhs) {
impl.reset(new OpPassManagerImpl(rhs.impl->name, rhs.impl->nesting));
+ impl->initializationGeneration = rhs.impl->initializationGeneration;
for (auto &pass : rhs.impl->passes)
impl->passes.emplace_back(pass->clone());
return *this;