[GVN] Fix verifyRemoved() verification
Fix the verification failure reported in https://reviews.llvm.org/D141712#4413647. We need to remove the load from the VN table as well, not just the leader table. Also make sure that this verification always runs when assertions are enabled, rather than only when -debug is passed.
Loading
Please sign in to comment