diff options
Diffstat (limited to 'llvm/include/llvm/CodeGen/MachineMemOperand.h')
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineMemOperand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h index 33a48a235e18..7ee700c62a25 100644 --- a/llvm/include/llvm/CodeGen/MachineMemOperand.h +++ b/llvm/include/llvm/CodeGen/MachineMemOperand.h @@ -229,7 +229,7 @@ public: /// Return the minimum known alignment in bytes of the base address, without /// the offset. - uint64_t getBaseAlignment() const { return (1u << BaseAlignLog2) >> 1; } + uint64_t getBaseAlignment() const { return (1ull << BaseAlignLog2) >> 1; } /// Return the AA tags for the memory reference. AAMDNodes getAAInfo() const { return AAInfo; } |