davidxl added a comment. The plan is to have this pass provide a more general framework to do math function partial inlining as well (as followup). Once that is done, the existing SQRT partial inliine pass can be subsumed. https://reviews.llvm.org/D24414