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

James Y Knight via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 06:17:44 PDT 2026


jyknight wrote:

As I think what the Archer report's errors have also indicated: this patch seems to expand zero classes in the wrong place.

It ought to be modifying the known values on _inputs_ to an nsz operation to encompass both positive and negative zeros when either are present, rather than to the _outputs_ of the nsz operations.

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


More information about the llvm-commits mailing list