diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-11 03:27:17 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-11 03:27:17 +0000 |
commit | 2a09d65979bc4cf872d56fcc88a19e4fa0034c9e (patch) | |
tree | 4d89b6b0a4b81a6f2f99c0cba1b73d5102ebff60 /llvm/lib/CodeGen/BranchFolding.h | |
parent | 3abc9b8b7990e3e6ea4623dbed3991aac7b1601c (diff) | |
download | bcm5719-llvm-2a09d65979bc4cf872d56fcc88a19e4fa0034c9e.tar.gz bcm5719-llvm-2a09d65979bc4cf872d56fcc88a19e4fa0034c9e.zip |
Revert 131172 as it is causing clang to miscompile itself. I will try
to provide a reduced testcase.
llvm-svn: 131176
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.h')
-rw-r--r-- | llvm/lib/CodeGen/BranchFolding.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.h b/llvm/lib/CodeGen/BranchFolding.h index 4daf4ecfe59..15dfa7f6bee 100644 --- a/llvm/lib/CodeGen/BranchFolding.h +++ b/llvm/lib/CodeGen/BranchFolding.h @@ -19,10 +19,11 @@ namespace llvm { class RegScavenger; class TargetInstrInfo; class TargetRegisterInfo; + template<typename T> class SmallVectorImpl; class BranchFolder { public: - explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist); + explicit BranchFolder(bool defaultEnableTailMerge); bool OptimizeFunction(MachineFunction &MF, const TargetInstrInfo *tii, @@ -84,7 +85,6 @@ namespace llvm { std::vector<SameTailElt> SameTails; bool EnableTailMerge; - bool EnableHoistCommonCode; const TargetInstrInfo *TII; const TargetRegisterInfo *TRI; MachineModuleInfo *MMI; @@ -110,9 +110,6 @@ namespace llvm { bool OptimizeBlock(MachineBasicBlock *MBB); void RemoveDeadBlock(MachineBasicBlock *MBB); bool OptimizeImpDefsBlock(MachineBasicBlock *MBB); - - bool HoistCommonCode(MachineFunction &MF); - bool HoistCommonCodeInSuccs(MachineBasicBlock *MBB); }; } |