diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 693166f552..67b61ec77e 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -640,14 +640,6 @@ public: return false; } - /// OptimizeSubInstr - See if the SUB instruction can be converted into - /// something more efficient E.g., on X86, we can replace SUB with CMP - /// if the actual result of SUB is not used. - virtual bool OptimizeSubInstr(MachineInstr *SubInstr, - const MachineRegisterInfo *MRI) const { - return false; - } - /// FoldImmediate - 'Reg' is known to be defined by a move immediate /// instruction, try to fold the immediate into the use instruction. virtual bool FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI, |