mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Remove isProfitableToDuplicateIndirectBranch target hook. It is profitable
for all the processors where I have tried it, and even when it might not help performance, the cost is quite low. The opportunities for duplicating indirect branches are limited by other factors so code size does not change much due to tail duplicating indirect branches aggressively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,9 +50,6 @@ protected:
|
||||
/// determine if NEON should actually be used.
|
||||
bool UseNEONForSinglePrecisionFP;
|
||||
|
||||
/// HasBranchTargetBuffer - True if processor can predict indirect branches.
|
||||
bool HasBranchTargetBuffer;
|
||||
|
||||
/// IsThumb - True if we are in thumb mode, false if in ARM mode.
|
||||
bool IsThumb;
|
||||
|
||||
@@ -130,8 +127,6 @@ protected:
|
||||
bool isThumb2() const { return IsThumb && (ThumbMode == Thumb2); }
|
||||
bool hasThumb2() const { return ThumbMode >= Thumb2; }
|
||||
|
||||
bool hasBranchTargetBuffer() const { return HasBranchTargetBuffer; }
|
||||
|
||||
bool isR9Reserved() const { return IsR9Reserved; }
|
||||
|
||||
bool useMovt() const { return UseMovt && hasV6T2Ops(); }
|
||||
|
Reference in New Issue
Block a user