diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineMemOperand.h')
-rw-r--r-- | include/llvm/CodeGen/MachineMemOperand.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineMemOperand.h b/include/llvm/CodeGen/MachineMemOperand.h index dd70b81dd5..b7e267dd13 100644 --- a/include/llvm/CodeGen/MachineMemOperand.h +++ b/include/llvm/CodeGen/MachineMemOperand.h @@ -16,8 +16,6 @@ #ifndef LLVM_CODEGEN_MACHINEMEMOPERAND_H #define LLVM_CODEGEN_MACHINEMEMOPERAND_H -#include "llvm/Support/MathExtras.h" - namespace llvm { class Value; @@ -76,9 +74,7 @@ public: /// getAlignment - Return the minimum known alignment in bytes of the /// actual memory reference. - uint64_t getAlignment() const { - return MinAlign(getBaseAlignment(), getOffset()); - } + uint64_t getAlignment() const; /// getBaseAlignment - Return the minimum known alignment in bytes of the /// base address, without the offset. |