[llvm-branch-commits] [llvm] [InstCombine] Fold fpto[su]i.sat of NaN guarded select (PR #230188)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Oct 11 09:47:04 PDT 2026


https://github.com/nikic requested changes to this pull request.

fptoi.sat of select gets canonicalized to select of fptoi.sat, so that's the form you should match. I assume that what you're doing currently only happens to work because you inserted the fold before the fold that pushes the intrinsic through select.

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


More information about the llvm-branch-commits mailing list