Move MaximumAlignment to Value.h, now that GlobalValue.h needs it.
[oota-llvm.git] / include / llvm / Value.h
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