[Hexagon] Consider constant-extended offsets to be valid
[oota-llvm.git] / lib / Target / Hexagon / HexagonInstrInfo.h
index 284dde1f91ec453b20cfa023343daebcb0322f11..ac88ea6e0a47aebb3c491882f04489e4e40583c1 100644 (file)
@@ -160,7 +160,7 @@ public:
   bool isSchedulingBoundary(const MachineInstr *MI,
                             const MachineBasicBlock *MBB,
                             const MachineFunction &MF) const override;
-  bool isValidOffset(const int Opcode, const int Offset) const;
+  bool isValidOffset(unsigned Opcode, int Offset, bool Extend = true) const;
   bool isValidAutoIncImm(const EVT VT, const int Offset) const;
   bool isMemOp(const MachineInstr *MI) const;
   bool isSpillPredRegOp(const MachineInstr *MI) const;