Move MaximumAlignment to Value.h, now that GlobalValue.h needs it.
authorDan Gohman <gohman@apple.com>
Wed, 28 Jul 2010 21:02:38 +0000 (21:02 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 28 Jul 2010 21:02:38 +0000 (21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109656 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h
include/llvm/Value.h

index 118a42d51539c94c48f1fec2c80d43374e22bccd..273c9951c6221b338653227a946e50012577d071 100644 (file)
@@ -31,10 +31,6 @@ class APInt;
 class LLVMContext;
 class DominatorTree;
 
-/// MaximumAlignment - This is the greatest alignment value supported by
-/// load, store, and alloca instructions.
-static const unsigned MaximumAlignment = 1u << 29;
-
 //===----------------------------------------------------------------------===//
 //                                AllocaInst Class
 //===----------------------------------------------------------------------===//
index 049667749b0d0d8aaebbbb56b7ede77daf517fe2..0f4c522d3737e93043362fd88fb0ad2386457013 100644 (file)
@@ -401,6 +401,10 @@ public:
   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
 
 #endif