diff options
author | Devang Patel <dpatel@apple.com> | 2011-10-17 17:17:43 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-10-17 17:17:43 +0000 |
commit | 827454e6e28cfed93db990b03b720ef7c23e6917 (patch) | |
tree | b055134e328951670ef6e22d2e691f73e3c7d4c6 /include | |
parent | 1e8ba3fa21326de4ef5bf908f6bfbf2852e04794 (diff) | |
download | llvm-827454e6e28cfed93db990b03b720ef7c23e6917.tar.gz llvm-827454e6e28cfed93db990b03b720ef7c23e6917.tar.bz2 llvm-827454e6e28cfed93db990b03b720ef7c23e6917.tar.xz |
svn mv Target/ARM/ARMGlobalMerge.cpp Transforms/Scalar/GlobalMerge.cpp
There is no reason to have simple IR level pass in lib/Target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/InitializePasses.h | 1 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/InitializePasses.h b/include/llvm/InitializePasses.h index c91fbf8de8..3a926dbbc7 100644 --- a/include/llvm/InitializePasses.h +++ b/include/llvm/InitializePasses.h @@ -136,6 +136,7 @@ void initializeLoopRotatePass(PassRegistry&); void initializeLoopSimplifyPass(PassRegistry&); void initializeLoopSplitterPass(PassRegistry&); void initializeLoopStrengthReducePass(PassRegistry&); +void initializeGlobalMergePass(PassRegistry&); void initializeLoopUnrollPass(PassRegistry&); void initializeLoopUnswitchPass(PassRegistry&); void initializeLoopIdiomRecognizePass(PassRegistry&); diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index b1536f906d..5c0e9c66fb 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -112,6 +112,8 @@ Pass *createLICMPass(); // Pass *createLoopStrengthReducePass(const TargetLowering *TLI = 0); +Pass *createGlobalMergePass(const TargetLowering *TLI = 0); + //===----------------------------------------------------------------------===// // // LoopUnswitch - This pass is a simple loop unswitching pass. |