summaryrefslogtreecommitdiff
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-28 00:43:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-28 00:43:03 +0000
commitfb8075d03f5c87bd57dcc9c5f2304f6b13c55aad (patch)
treec0823b1738e1ce2f7c6c219547f9f116d53074bf /lib/CodeGen/IfConversion.cpp
parent41ce5b82da30b27d00993a2882cc52f427f6309c (diff)
downloadllvm-fb8075d03f5c87bd57dcc9c5f2304f6b13c55aad.tar.gz
llvm-fb8075d03f5c87bd57dcc9c5f2304f6b13c55aad.tar.bz2
llvm-fb8075d03f5c87bd57dcc9c5f2304f6b13c55aad.tar.xz
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/IfConversion.cpp')
-rw-r--r--lib/CodeGen/IfConversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index 7d7f33e535..a77ccb766f 100644
--- a/lib/CodeGen/IfConversion.cpp
+++ b/lib/CodeGen/IfConversion.cpp
@@ -56,7 +56,7 @@ STATISTIC(NumIfConvBBs, "Number of if-converted blocks");
STATISTIC(NumDupBBs, "Number of duplicated blocks");
namespace {
- class IfConverter : public MachineFunctionPass {
+ class VISIBILITY_HIDDEN IfConverter : public MachineFunctionPass {
enum IfcvtKind {
ICNotClassfied, // BB data valid, but not classified.
ICSimpleFalse, // Same as ICSimple, but on the false path.