zaks.anna added a comment. LGTM, however, you should probably add someone who regularly works on LLVM IR to review this as well. Also, please, add commit message describing what you are doing and why. Thanks! Anna. https://reviews.llvm.org/D24673