Move MaximumAlignment to Value.h, now that GlobalValue.h needs it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-07-28 21:02:38 +00:00
parent 6bbe671e1c
commit 5d414b44fc
2 changed files with 4 additions and 4 deletions

View File

@ -31,10 +31,6 @@ class APInt;
class LLVMContext; class LLVMContext;
class DominatorTree; class DominatorTree;
/// MaximumAlignment - This is the greatest alignment value supported by
/// load, store, and alloca instructions.
static const unsigned MaximumAlignment = 1u << 29;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// AllocaInst Class // AllocaInst Class
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -401,6 +401,10 @@ public:
enum { NumLowBitsAvailable = 2 }; enum { NumLowBitsAvailable = 2 };
}; };
/// MaximumAlignment - This is the greatest alignment value supported by
/// load, store, and alloca instructions, and global values.
static const unsigned MaximumAlignment = 1u << 29;
} // End llvm namespace } // End llvm namespace
#endif #endif