[PM] Simplify how we use the registry by including it only once. Still
authorChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jan 2015 04:49:38 +0000 (04:49 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jan 2015 04:49:38 +0000 (04:49 +0000)
commit7e6723e35694b3419a9d580f269d1db2f8cd10fd
tree052d582949203e7c65be566c6de49a85f7833abd
parente16c86e5249a2e50a7a61db2c8844507f53a9227
[PM] Simplify how we use the registry by including it only once. Still
more verbose than I'd like, but the code really isn't that interesting,
and this still seems vastly simpler than any other solutions I've come
up with. =] Maybe if we get to the 10th IR unit, this will be a problem
in practice.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225245 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/Passes.cpp