aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.h
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-06-06 23:53:03 +0000
committerManman Ren <mren@apple.com>2012-06-06 23:53:03 +0000
commit2afde7782dfa56b2e46f79598bdb5f1e09471941 (patch)
treec3a07b4c2b416d79bd3e0dc7462b07f5e45a1547 /lib/Target/X86/X86InstrInfo.h
parentaed04d12f8e336d4960b49ad8d09ac2eb5785f1f (diff)
downloadexternal_llvm-2afde7782dfa56b2e46f79598bdb5f1e09471941.zip
external_llvm-2afde7782dfa56b2e46f79598bdb5f1e09471941.tar.gz
external_llvm-2afde7782dfa56b2e46f79598bdb5f1e09471941.tar.bz2
Revert r157755.
The commit is intended to fix rdar://11540023. It is implemented as part of peephole optimization. We can actually implement this in the SelectionDAG lowering phase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.h')
-rw-r--r--lib/Target/X86/X86InstrInfo.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index 088c49f..5ae6b99 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -364,9 +364,6 @@ public:
const MachineInstr *DefMI, unsigned DefIdx,
const MachineInstr *UseMI, unsigned UseIdx) const;
- virtual bool OptimizeSubInstr(MachineInstr *SubInstr,
- const MachineRegisterInfo *MRI) const;
-
private:
MachineInstr * convertToThreeAddressWithLEA(unsigned MIOpc,
MachineFunction::iterator &MFI,