mehdi_amini added a comment. Should we close this revision? Now that the new API is in LLVM and it is targeted by https://reviews.llvm.org/D24492 ; this seems obsolete, isn't it? https://reviews.llvm.org/D19351