[PATCH] D125774: [InstCombine] fold float trunc into exact itofp for small constants
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 10 01:41:13 PDT 2022
Allen added a comment.
In D125774#3520161 <https://reviews.llvm.org/D125774#3520161>, @efriedma wrote:
> Specifically detecting this exact case doesn't really seem very useful... we should be leveraging some sort of range analysis (known bits, CorrelatedValuePropagation, etc.)
Thanks @efriedma very much, I updated with computeKnownBits according your idea.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125774/new/
https://reviews.llvm.org/D125774
More information about the llvm-commits
mailing list