From 5d414b44fc7720a040357ec43f111f8ac53a59f4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 28 Jul 2010 21:02:38 +0000 Subject: [PATCH] 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 --- include/llvm/Instructions.h | 4 ---- include/llvm/Value.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 118a42d5153..273c9951c62 100644 --- a/include/llvm/Instructions.h +++ b/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/include/llvm/Value.h b/include/llvm/Value.h index 049667749b0..0f4c522d373 100644 --- a/include/llvm/Value.h +++ b/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 -- 2.34.1