aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2018-04-09 18:42:19 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2018-04-09 18:42:19 +0000
commitc01efe690f01431d8d8552d7ceff968e03af6fd6 (patch)
tree8078924e58818635bd087672fc6b00bd1f3078f9 /llvm/lib/CodeGen/MachineOperand.cpp
parentd43931dcb8f233c9d7b2b82a2175ee703c395dd8 (diff)
downloadllvm-c01efe690f01431d8d8552d7ceff968e03af6fd6.zip
llvm-c01efe690f01431d8d8552d7ceff968e03af6fd6.tar.gz
llvm-c01efe690f01431d8d8552d7ceff968e03af6fd6.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOperand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineOperand.cpp b/llvm/lib/CodeGen/MachineOperand.cpp
index cda92358..e518db79 100644
--- a/llvm/lib/CodeGen/MachineOperand.cpp
+++ b/llvm/lib/CodeGen/MachineOperand.cpp
@@ -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,