apazos accepted this revision. apazos added a comment. This revision is now accepted and ready to land. Please merge this patch, it looks in good shape. This patch is required for any RISCV build. https://reviews.llvm.org/D39963