[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)
commit2be089def565b34c12808ff635a974440d674919
tree91974cdeede1ba0ce7ae41be9fe964ecb1ee4000
parenta2823578e6c502bcf83343df3036231874852cc6
[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.

llvm-svn: 225245
llvm/tools/opt/Passes.cpp