[llvm] [ValueTracking] Fix computeKnownFPClass handling of nsz (PR #186315)

Yunbo Ni via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 02:05:30 PDT 2026


cardigan1008 wrote:

> Hm... shouldn't we handle nsz generically somehow? If nsz is set, then for all inputs we need to treat treat a pzero known FP class as also including nzero and vice versa.

Thanks for the suggestion. I've updated the fix to widen the zero with nsz set. 

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


More information about the llvm-commits mailing list