[InstCombine] Erase original add when creating saddo
Usually when we replaceInstUsesWith() we also return the original instruction, and InstCombine will take care of erasing it. Here we don't do that, so we need to manually erase it. NFC apart from worklist order changes.
Loading
Please register or sign in to comment