]> granicus.if.org Git - llvm/commit
Make DT a transitive dependency of LI.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 17 Jul 2019 23:31:59 +0000 (23:31 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 17 Jul 2019 23:31:59 +0000 (23:31 +0000)
commit7ec9bee1d08ef4240d16643cd8bf4bde7a32eb60
tree941c4f4b64135fe9e9255b22bc09b200932f08ea
parent6f348380b7a9e00427194fb2972d6440af8493f2
Make DT a transitive dependency of LI.

Summary:
LoopInfoWrapperPass::verify uses DT, which means DT must be alive
even if it has no direct users.

Fixes a crash in expensive checks mode.

Reviewers: pcc, leonardchan

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366388 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LoopInfo.cpp