OSDN Git Service

[unroll] Merge the simplification and DCE estimation methods on the
authorChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 04:39:05 +0000 (04:39 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 04:39:05 +0000 (04:39 +0000)
commite95568c0a020e05ae7a42c5695b3793b313e69f1
tree17f0d4065e7393bcde6188c02e3ed97e15bfe1e6
parent17cc3c80ee57132f362b0e22e26d4c2bcfb2b71e
[unroll] Merge the simplification and DCE estimation methods on the
UnrollAnalyzer.

Now they share a single worklist and have less implicit state between
them. There was no real benefit to separating these two things out.

I'm going to subsequently refactor things to share even more code.

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