diff options
author | Manman Ren <mren@apple.com> | 2012-07-29 02:44:09 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-07-29 02:44:09 +0000 |
commit | e8b4a4a9d173d67e35e4b1d32e20140381db6bde (patch) | |
tree | f72e329b6068a8cef154182d43d5f4410981e35e /include | |
parent | d64cb165d7741cdaa21405b49c019b9dacfbeb11 (diff) | |
download | external_llvm-e8b4a4a9d173d67e35e4b1d32e20140381db6bde.zip external_llvm-e8b4a4a9d173d67e35e4b1d32e20140381db6bde.tar.gz external_llvm-e8b4a4a9d173d67e35e4b1d32e20140381db6bde.tar.bz2 |
Revert r160920 and r160919 due to dragonegg and clang selfhost failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index ba5e05d..73efc50 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -14,7 +14,6 @@ #ifndef LLVM_TARGET_TARGETINSTRINFO_H #define LLVM_TARGET_TARGETINSTRINFO_H -#include "llvm/ADT/SmallSet.h" #include "llvm/MC/MCInstrInfo.h" #include "llvm/CodeGen/DFAPacketizer.h" #include "llvm/CodeGen/MachineFunction.h" @@ -694,16 +693,6 @@ public: return false; } - /// optimizeLoadInstr - Try to remove the load by folding it to a register - /// operand at the use. We fold the load instructions if and only if the - /// def and use are in the same BB. - virtual MachineInstr* optimizeLoadInstr(MachineInstr *MI, - const MachineRegisterInfo *MRI, - SmallSet<unsigned, 4> &FoldAsLoadDefRegs, - MachineInstr *&DefMI) const { - return 0; - } - /// 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, |