The patch contains three commits. I put them together here for easier review.
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160404/345226.html
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160404/345430.html
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160404/345502.html
Since we make sure not to create an entry for Child, I believe it is safe to SpillsInSubTreeMap[*RIt] in a local variable.
That should make the code a but more readable.