It is safe to fold when extending, as we will not lose precision. Differential Revision: https://reviews.llvm.org/D144251