[MemCpyOpt] Don't generate zero-size memset
If a memset destination is overwritten by a memcpy and the sizes are exactly the same, then the memset is simply dead. We can directly drop it, instead of replacing it with a memset of zero size, which is particularly ugly for the case of a dynamic size.
parent
dabd6abb
Please register or sign in to comment