[MemCpyOpt] Add helper to erase instructions (NFC)
Next to erasing the instruction, we also always want to remove it from MSSA and MD. Use a common function to do so. This is a refactoring split out from D26739.
parent
87b63c17
Please register or sign in to comment