diff options
| author | Kalle Raiskila <kalle.raiskila@nokia.com> | 2011-08-26 10:14:56 +0000 | 
|---|---|---|
| committer | Kalle Raiskila <kalle.raiskila@nokia.com> | 2011-08-26 10:14:56 +0000 | 
| commit | db6f646ec300fa631c62695a8d5e7acbbce38878 (patch) | |
| tree | a66d9dc7340be9261043d804ba8144ec12b20455 /llvm/lib/Target/CellSPU/SPUFrameLowering.h | |
| parent | cac93853ae5f5df43d1797e8ee41175bd2bfc867 (diff) | |
| download | bcm5719-llvm-db6f646ec300fa631c62695a8d5e7acbbce38878.tar.gz bcm5719-llvm-db6f646ec300fa631c62695a8d5e7acbbce38878.zip | |
Don't insert branch hint lables that are never used. 
llvm-svn: 138630
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUFrameLowering.h')
| -rw-r--r-- | llvm/lib/Target/CellSPU/SPUFrameLowering.h | 11 | 
1 files changed, 0 insertions, 11 deletions
| diff --git a/llvm/lib/Target/CellSPU/SPUFrameLowering.h b/llvm/lib/Target/CellSPU/SPUFrameLowering.h index 16789ddfc5e..b837f2cf94e 100644 --- a/llvm/lib/Target/CellSPU/SPUFrameLowering.h +++ b/llvm/lib/Target/CellSPU/SPUFrameLowering.h @@ -74,17 +74,6 @@ namespace llvm {      static int FItoStackOffset(int frame_index) {        return frame_index * stackSlotSize();      } -    //! Number of instructions required to overcome hint-for-branch latency -    /*! -      HBR (hint-for-branch) instructions can be inserted when, for example, -      we know that a given function is going to be called, such as printf(), -      in the control flow graph. HBRs are only inserted if a sufficient number -      of instructions occurs between the HBR and the target. Currently, HBRs -      take 6 cycles, ergo, the magic number 6. -     */ -    static int branchHintPenalty() { -      return 6; -    }    };  } | 

