ruiu accepted this revision. ruiu added a comment. This revision is now accepted and ready to land. LGTM. As to moving the code to LLVM, I have no idea. But we can move the code later. Repository: rL LLVM https://reviews.llvm.org/D23161