[llvm] [InstCombine] Optimize unneeded float to int cast when icmp (PR #155501)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 7 05:54:44 PDT 2025


dtcxzyw wrote:

We may need a one-use check on the fptosi cast. This is a bit different from our general policy, as the fp constant materialization is not as cheap as integers.


https://github.com/llvm/llvm-project/pull/155501


More information about the llvm-commits mailing list