Fix type mismatch between MachineMemOperand constructor and accessors. NFC
authorDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 9 Apr 2018 18:42:19 +0000 (18:42 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 9 Apr 2018 18:42:19 +0000 (18:42 +0000)
commitc01efe690f01431d8d8552d7ceff968e03af6fd6
tree8078924e58818635bd087672fc6b00bd1f3078f9
parentd43931dcb8f233c9d7b2b82a2175ee703c395dd8
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
llvm/include/llvm/CodeGen/MachineMemOperand.h
llvm/lib/CodeGen/MachineOperand.cpp