Re: [PATCH 0/4] Replace nonzero_p with contains_zero_p

Aldy Hernandez <[email protected]> Wed, 5 Aug 2026 19:58:36 +0200
Newsgroups gmane.comp.gcc.patches
Message-ID <[email protected]>
On Wed, Aug 05, 2026 at 04:17:19PM +0200, Aldy Hernandez wrote:
> Per our discussion, nonzero_p() has always been a bit insane.  It only
> returns true for ~[0,0] so even [13,13] is considered false.
> Introduce contains_zero_p(), which from the looks of it, we've already
> been hand crafting, as direct nonzero_p() calls were few.
> 
> How does this look?

BTW, I ran my usual LAPACK source files through each patch
independently, and there are no changes to assembly, so in theory this
whole set is surprisingly a non-functional change.

Aldy