diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-28 00:43:03 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-28 00:43:03 +0000 |
commit | 45c1edb4f781571f11fefb07a46a2c0f08523650 (patch) | |
tree | c0823b1738e1ce2f7c6c219547f9f116d53074bf /lib/CodeGen/BranchFolding.cpp | |
parent | 1aa1f2c0d7db4217f667bb230e091a14c0537099 (diff) | |
download | external_llvm-45c1edb4f781571f11fefb07a46a2c0f08523650.tar.gz external_llvm-45c1edb4f781571f11fefb07a46a2c0f08523650.tar.bz2 external_llvm-45c1edb4f781571f11fefb07a46a2c0f08523650.zip |
Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to 16-byte boundaries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r-- | lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 2d7836f4f3..d9874b53b6 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/lib/CodeGen/BranchFolding.cpp @@ -44,7 +44,7 @@ namespace { cl::desc("Max number of predecessors to consider tail merging"), cl::init(100), cl::Hidden); - struct BranchFolder : public MachineFunctionPass { + struct VISIBILITY_HIDDEN BranchFolder : public MachineFunctionPass { static char ID; explicit BranchFolder(bool defaultEnableTailMerge) : MachineFunctionPass((intptr_t)&ID) { |