[MemorySSAUpdater] Simplify updates when only deleting edges.
authorAlina Sbirlea <asbirlea@google.com>
Wed, 1 Sep 2021 21:38:53 +0000 (14:38 -0700)
committerAlina Sbirlea <asbirlea@google.com>
Wed, 1 Sep 2021 22:48:20 +0000 (15:48 -0700)
commita10409fe23c35a7eed0f39d12624af229d3877e1
tree3cc3eadb3a2bb6a89415326e07eb8bcf66a03fc2
parent1f9e437065ae1262f64b1b678a7be7bd68d25049
[MemorySSAUpdater] Simplify updates when only deleting edges.

When performing only edge deletion, we don't need to do the DT updates
back and forth. Check for the existance of insert updates to simplify
this.
llvm/lib/Analysis/MemorySSAUpdater.cpp