MachineMemOperand::getBaseAlignment() - fix "shift of i32 then extended to i64" static analyzer warning. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-07 16:46:55 +00:00
parent 0e9b5760f2
commit 205c84dc8a
1 changed files with 1 additions and 1 deletions

View File

@ -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; }