[PATCH] D43970: [InstCombine] Allow fptrunc (fpext X)) to be reduced to a single fpext/ftrunc
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 1 15:08:17 PST 2018
craig.topper updated this revision to Diff 136617.
craig.topper retitled this revision from "[InstCombine] Allow fptrunc (fpext X)) to be reduced to a single fpext if the trunc result type is larger than the original size" to "[InstCombine] Allow fptrunc (fpext X)) to be reduced to a single fpext/ftrunc".
craig.topper added a comment.
Allow it to be turned into fptrunc as well. Which I believe makes it equivalent to the handler for integers.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4705 bytes
Desc: not available
More information about the llvm-commits