Index: lib/CodeGen/PPCGCodeGeneration.cpp =================================================================== --- lib/CodeGen/PPCGCodeGeneration.cpp +++ lib/CodeGen/PPCGCodeGeneration.cpp @@ -1478,9 +1478,6 @@ SubtreeReferences References = { LI, SE, S, ValueMap, SubtreeValues, SCEVs, getBlockGenerator()}; - for (const auto &I : IDToValue) - SubtreeValues.insert(I.second); - // NOTE: this is populated in IslNodeBuilder::addParameters // See [Code generation of induction variables of loops outside Scops]. for (const auto &I : OutsideLoopIterations)