diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-17 00:43:24 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-17 00:43:24 +0000 |
commit | d3ead4329eaa46937245f5cc8402e749af2a37dc (patch) | |
tree | 728ae5e69889200010d0b8270e5ecd9fc7db910d /include/llvm/CodeGen/LinkAllCodegenComponents.h | |
parent | 7795932d41a84c921a5d348b7fa70f5d32e146d0 (diff) |
Add a new MachineInstr-level DCE pass. It is very simple, and is intended to
be used with fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LinkAllCodegenComponents.h')
-rw-r--r-- | include/llvm/CodeGen/LinkAllCodegenComponents.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LinkAllCodegenComponents.h b/include/llvm/CodeGen/LinkAllCodegenComponents.h index 9ee22d4926..ac2e9a4b9a 100644 --- a/include/llvm/CodeGen/LinkAllCodegenComponents.h +++ b/include/llvm/CodeGen/LinkAllCodegenComponents.h @@ -29,6 +29,8 @@ namespace { if (std::getenv("bar") != (char*) -1) return; + (void) llvm::createDeadMachineInstructionElimPass(); + (void) llvm::createSimpleRegisterAllocator(); (void) llvm::createLocalRegisterAllocator(); (void) llvm::createBigBlockRegisterAllocator(); |