This is an archive of the discontinued LLVM Phabricator instance.

Add a getSizeInBits() accessor to MachineMemOperand. NFC.
ClosedPublic

Authored by aemerson on Apr 16 2019, 3:17 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

aemerson created this revision.Apr 16 2019, 3:17 PM
This revision is now accepted and ready to land.Apr 16 2019, 3:40 PM
arsenm added inline comments.Apr 17 2019, 2:42 AM
llvm/lib/CodeGen/MachineVerifier.cpp
1028 ↗(On Diff #195472)

The +7 / 8 trick should probably be moved into a ValTy.getSizeInBytes()

aemerson marked an inline comment as done.Apr 17 2019, 2:42 PM
aemerson added inline comments.
llvm/lib/CodeGen/MachineVerifier.cpp
1028 ↗(On Diff #195472)

I'll do this when I commit.

This revision was automatically updated to reflect the committed changes.