If MI is deleted then remove it from the set. If a new MI is created, it could
authorNick Lewycky <nicholas@mxc.ca>
Thu, 13 Oct 2011 02:16:18 +0000 (02:16 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 13 Oct 2011 02:16:18 +0000 (02:16 +0000)
commitdec1b10161a3bc1b49ab8d35e1bd6488486dfd4a
tree0f1b8a3cc397b3214adaa1b827776af5acdc0f40
parentea3abd553668e272772f04ae1536034cd37e70d1
If MI is deleted then remove it from the set. If a new MI is created, it could
have the same address as the one we deleted, and we don't want that in the set
yet. Noticed by inspection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PeepholeOptimizer.cpp