sque marked an inline comment as done. sque added a comment. There is a runtime cost. It would make more sense to do a dry-run as I suggested in the comment above. What do you think of that idea? https://reviews.llvm.org/D27960