MachineMemOperand::getBaseAlignment() - fix "shift of i32 then extended to i64" static analyzer warning. NFCI.
This commit is contained in:
parent
0e9b5760f2
commit
205c84dc8a
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue