forked from OSchip/llvm-project
Fix type mismatch between MachineMemOperand constructor and accessors. NFC
This allows MachineMemOperand::getSize()'s result to be fed directly into MachineMemOperand::MachineMemOperand() without a narrowing type conversion warning. llvm-svn: 329602
This commit is contained in:
parent
d43931dcb8
commit
c01efe690f
|
@ -184,7 +184,7 @@ public:
|
|||
/// atomic operations the atomic ordering requirements when store does not
|
||||
/// occur must also be specified.
|
||||
MachineMemOperand(MachinePointerInfo PtrInfo, Flags flags, uint64_t s,
|
||||
unsigned base_alignment,
|
||||
uint64_t base_alignment,
|
||||
const AAMDNodes &AAInfo = AAMDNodes(),
|
||||
const MDNode *Ranges = nullptr,
|
||||
SyncScope::ID SSID = SyncScope::System,
|
||||
|
|
|
@ -970,7 +970,7 @@ MachinePointerInfo MachinePointerInfo::getUnknownStack(MachineFunction &MF) {
|
|||
}
|
||||
|
||||
MachineMemOperand::MachineMemOperand(MachinePointerInfo ptrinfo, Flags f,
|
||||
uint64_t s, unsigned int a,
|
||||
uint64_t s, uint64_t a,
|
||||
const AAMDNodes &AAInfo,
|
||||
const MDNode *Ranges, SyncScope::ID SSID,
|
||||
AtomicOrdering Ordering,
|
||||
|
|
Loading…
Reference in New Issue