diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-28 21:02:38 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-28 21:02:38 +0000 |
commit | 7e4163d48e7ff4657a7f5031eb03cdaa92ba39dd (patch) | |
tree | fc2300487357a4254f7ee5065579e9e4c8f9673d | |
parent | 390914cbe870fc3aae76cdf52aa64e736d336719 (diff) | |
download | bcm5719-llvm-7e4163d48e7ff4657a7f5031eb03cdaa92ba39dd.tar.gz bcm5719-llvm-7e4163d48e7ff4657a7f5031eb03cdaa92ba39dd.zip |
Move MaximumAlignment to Value.h, now that GlobalValue.h needs it.
llvm-svn: 109656
-rw-r--r-- | llvm/include/llvm/Instructions.h | 4 | ||||
-rw-r--r-- | llvm/include/llvm/Value.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Instructions.h b/llvm/include/llvm/Instructions.h index 118a42d5153..273c9951c62 100644 --- a/llvm/include/llvm/Instructions.h +++ b/llvm/include/llvm/Instructions.h @@ -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 //===----------------------------------------------------------------------===// diff --git a/llvm/include/llvm/Value.h b/llvm/include/llvm/Value.h index 049667749b0..0f4c522d373 100644 --- a/llvm/include/llvm/Value.h +++ b/llvm/include/llvm/Value.h @@ -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 |