[clang] [llvm] [IR] Allow fast math flags on fptosi, fptoui and sitofp (PR #160475)
Joshua Cranmer via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 12:14:07 PDT 2025
jcranmer-intel wrote:
I don't remember the example off-hand, but there was a fast-math transform I wanted at one point that needed a flag on `fptoui`.
> I don't think we should do this until we have freed up the necessary flag space to also support uitofp as well.
I can see an argument for doing `fptoui` and to `fptosi` without the inverses, but agreed that `sitofp` without `uitofp` is a bad idea.
https://github.com/llvm/llvm-project/pull/160475
More information about the llvm-commits
mailing list