[PATCH] D43970: [InstCombine] Allow fptrunc (fpext X)) to be reduced to a single fpext if the trunc result type is larger than the original size

Steve Canon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 14:02:15 PST 2018


scanon added a comment.

We should be able to go farther and just do a `fptrunc` if `SrcSize > DstSize`.


https://reviews.llvm.org/D43970





More information about the llvm-commits mailing list