We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8806d commit 2d9af3dCopy full SHA for 2d9af3d
llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
@@ -57,9 +57,9 @@ class GLoadStore : public GenericMachineInstr {
57
bool isUnordered() const { return getMMO().isUnordered(); }
58
59
/// Returns the size in bytes of the memory access.
60
- uint64_t getMemSize() { return getMMO().getSize();
+ uint64_t getMemSize() const { return getMMO().getSize();
61
} /// Returns the size in bits of the memory access.
62
- uint64_t getMemSizeInBits() { return getMMO().getSizeInBits(); }
+ uint64_t getMemSizeInBits() const { return getMMO().getSizeInBits(); }
63
64
static bool classof(const MachineInstr *MI) {
65
switch (MI->getOpcode()) {
0 commit comments