[llvm-commits] [llvm] r109656 - in /llvm/trunk/include/llvm: Instructions.h Value.h
Dan Gohman
gohman at apple.com
Wed Jul 28 14:02:38 PDT 2010
Author: djg
Date: Wed Jul 28 16:02:38 2010
New Revision: 109656
URL: http://llvm.org/viewvc/llvm-project?rev=109656&view=rev
Log:
Move MaximumAlignment to Value.h, now that GlobalValue.h needs it.
Modified:
llvm/trunk/include/llvm/Instructions.h
llvm/trunk/include/llvm/Value.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=109656&r1=109655&r2=109656&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Wed Jul 28 16:02:38 2010
@@ -31,10 +31,6 @@
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
//===----------------------------------------------------------------------===//
Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=109656&r1=109655&r2=109656&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Wed Jul 28 16:02:38 2010
@@ -401,6 +401,10 @@
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
More information about the llvm-commits
mailing list