[llvm] [llubi] Implement fast-math flags for `uitofp`/`sitofp` (PR #222858)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 12 07:34:21 PDT 2026
================
@@ -2488,6 +2488,12 @@ class InstExecutor : public InstVisitor<InstExecutor, void>,
Res.convertFromAPInt(Operand.asInteger(), /*IsSigned=*/IsSigned,
Ctx.getCurrentRoundingMode());
+ if (I.hasNoInfs())
----------------
nikic wrote:
Missing check for infinity? This now always returns poison for ninf :)
https://github.com/llvm/llvm-project/pull/222858
More information about the llvm-commits
mailing list