Commit 2d9af3db authored by Amara Emerson's avatar Amara Emerson
Browse files

[GlobalISel] Make GLoadStore::getMemSize[InBits]() const.

parent 4b8806d9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -57,9 +57,9 @@ public:
  bool isUnordered() const { return getMMO().isUnordered(); }

  /// Returns the size in bytes of the memory access.
  uint64_t getMemSize() { return getMMO().getSize();
  uint64_t getMemSize() const { return getMMO().getSize();
  } /// Returns the size in bits of the memory access.
  uint64_t getMemSizeInBits() { return getMMO().getSizeInBits(); }
  uint64_t getMemSizeInBits() const { return getMMO().getSizeInBits(); }

  static bool classof(const MachineInstr *MI) {
    switch (MI->getOpcode()) {