ruiu accepted this revision. ruiu added a comment. This revision is now accepted and ready to land. LGTM. Wow, that seems like a dangerous bug. Thank you for finding and fixing! https://reviews.llvm.org/D31768