The "null-pointer-is-valid" attribute needs to be checked by many pointer-related combines. To make the check more efficient, convert it from a string into an enum attribute.
While D78859 already makes the check for the attribute cheaper, this is another 0.4% improvement.
I guess this change can go in as NFC simplification right away.