]> granicus.if.org Git - llvm/commit
Remove unnecessary IDom check
authorXin Tong <trent.xin.tong@gmail.com>
Mon, 20 Mar 2017 00:30:19 +0000 (00:30 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Mon, 20 Mar 2017 00:30:19 +0000 (00:30 +0000)
commitf030d6b014bf60d56d71d4502a3b6973f76efe30
tree7479e8afe252bbf518c9655aac19ee519c948663
parent953410819705ad0fe47e27d2f1181ed5452446f4
Remove unnecessary IDom check

Summary: This Idom check seems unnecessary. The immediate children of a node on the Dominator Tree should always be the IDom of its immediate children in this case.

Reviewers: hfinkel, majnemer, dberlin

Reviewed By: dberlin

Subscribers: dberlin, davide, llvm-commits

Differential Revision: https://reviews.llvm.org/D26954

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298232 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Sink.cpp