[SimplifyCFGPass] Ensure that DominatorTreeWrapperPass is init'd before SimplifyCFG
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 1 Jan 2021 13:31:11 +0000 (16:31 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 1 Jan 2021 22:01:17 +0000 (01:01 +0300)
commite08fea3b240994572a4dd6b34bd846aef023a123
tree6037d06b37c1887175b4e4ec9badde63ef0e2e56
parent9a90c4ea8a05959a08109cb876397447d7cd9c2d
[SimplifyCFGPass] Ensure that DominatorTreeWrapperPass is init'd before SimplifyCFG

It's probably better than hoping that it will happen to be
already initialized.
llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp