diff options
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 6913fb8..be3ffd9 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -581,7 +581,7 @@ public: /// in SrcReg and the value it compares against in CmpValue. Return true if /// the comparison instruction can be analyzed. virtual bool AnalyzeCompare(const MachineInstr *MI, - unsigned &SrcReg, int &CmpValue) const { + unsigned &SrcReg, int &Mask, int &Value) const { return false; } @@ -589,8 +589,8 @@ public: /// into something more efficient. E.g., on ARM most instructions can set the /// flags register, obviating the need for a separate CMP. Update the iterator /// *only* if a transformation took place. - virtual bool OptimizeCompareInstr(MachineInstr * /*CmpInstr*/, - unsigned /*SrcReg*/, int /*CmpValue*/, + virtual bool OptimizeCompareInstr(MachineInstr *CmpInstr, + unsigned SrcReg, int Mask, int Value, MachineBasicBlock::iterator &) const { return false; } |