bollu accepted this revision. bollu added a comment. This revision is now accepted and ready to land. LGTM. Please refactor the Fortran changes to an [NFC] patch before applying this patch, if it makes sense. https://reviews.llvm.org/D36243