ValueTracking: Handle sign bit of constrained sitofp/uitofp
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 13 Apr 2023 14:15:15 +0000 (10:15 -0400)
committerMatt Arsenault <arsenm2@gmail.com>
Thu, 20 Apr 2023 00:11:33 +0000 (20:11 -0400)
commit02f647f8923c29f0a0352f9ef128e51b7bf28a2c
treebf8f73e0b147a9d6cddec767398a844d4b486c80
parentf6d79ad9eba4815ed4381106333e0e285f89ad02
ValueTracking: Handle sign bit of constrained sitofp/uitofp

This is for parity with CannotBeNegativeZero which is close to
droppable.
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/Attributor/nofpclass.ll