diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-09-17 14:08:37 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-09-17 14:08:37 +0000 |
commit | a52c3acc14062a7c2220cedb9f75531bf730eda8 (patch) | |
tree | 7b850395aa1bc0c80f36e5022e9748da2401106f /lib/CodeGen/CodeGen.cpp | |
parent | 9b7ca410621f6988b2d4203b90058dd4252848a8 (diff) |
Add a MachinePostDominator pass
This is used in the AMDIL and R600 backends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGen.cpp b/lib/CodeGen/CodeGen.cpp index 65f0941287..a53f6f8d0f 100644 --- a/lib/CodeGen/CodeGen.cpp +++ b/lib/CodeGen/CodeGen.cpp @@ -41,6 +41,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeMachineCopyPropagationPass(Registry); initializeMachineCSEPass(Registry); initializeMachineDominatorTreePass(Registry); + initializeMachinePostDominatorTreePass(Registry); initializeMachineLICMPass(Registry); initializeMachineLoopInfoPass(Registry); initializeMachineModuleInfoPass(Registry); |