[llvm] [TTI] Check type legalization of both src and result for fpto{u|s}i.sat. (PR #147657)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 01:37:25 PDT 2025


https://github.com/davemgreen approved this pull request.

Can you add a comment explaining why it needs to check the two types. (It might be able to get away with just checking the Tys, RetTy will be checked later? It sounds OK to keep both checks though, to be safe).

Otherwise LGTM.

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


More information about the llvm-commits mailing list