]> granicus.if.org Git - llvm/commit
[MemDepAnalysis] Allow caller to pass in an OrderedBasicBlock.
authorFlorian Hahn <flo@fhahn.com>
Thu, 28 Mar 2019 19:17:31 +0000 (19:17 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 28 Mar 2019 19:17:31 +0000 (19:17 +0000)
commit7f1051e1fa398762ef61ad83913125e731cf2994
tree928092419e6f0157af6e8148f0c2b084c7788906
parent7cf515b63a85279c80ddf302049f2d6fbe0d6912
[MemDepAnalysis] Allow caller to pass in an OrderedBasicBlock.

If the caller can preserve the OBB, we can avoid recomputing the order
for each getDependency call.

Reviewers: efriedma, rnk, hfinkel

Reviewed By: rnk

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357206 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MemoryDependenceAnalysis.h
lib/Analysis/MemoryDependenceAnalysis.cpp