[PATCH] D125774: [InstCombine] fold float trunc into exact itofp for small constants

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 11:15:55 PDT 2022


efriedma added a comment.

Specifically detecting this exact case doesn't really seem very useful... we should be leveraging some sort of range analysis (known bits, CorrelatedValuePropagation, etc.)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125774/new/

https://reviews.llvm.org/D125774



More information about the llvm-commits mailing list