https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112398
--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> --- I don't think we need to do any significant bit tracking to optimize the original neg8 test. I think we can be handled entirely within the simplify-rtx framework. I've got a junior engineer that's going to take a peek at this -- so don't go and fix it Andrew ;-)