mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Revert: r189565 - Add getUnrollingPreferences to TTI
Revert unintentional commit (of an unreviewed change). Original commit message: Add getUnrollingPreferences to TTI Allow targets to customize the default behavior of the generic loop unrolling transformation. This will be used by the PowerPC backend when targeting the A2 core (which is in-order with a deep pipeline), and using more aggressive defaults is important. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -96,11 +96,6 @@ bool TargetTransformInfo::isLoweredToCall(const Function *F) const {
|
||||
return PrevTTI->isLoweredToCall(F);
|
||||
}
|
||||
|
||||
bool TargetTransformInfo::getUnrollingPreferences(
|
||||
UnrollingPreferences &UP) const {
|
||||
return PrevTTI->getUnrollingPreferences(UP);
|
||||
}
|
||||
|
||||
bool TargetTransformInfo::isLegalAddImmediate(int64_t Imm) const {
|
||||
return PrevTTI->isLegalAddImmediate(Imm);
|
||||
}
|
||||
@@ -474,10 +469,6 @@ struct NoTTI : ImmutablePass, TargetTransformInfo {
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool getUnrollingPreferences(UnrollingPreferences &) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isLegalAddImmediate(int64_t Imm) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user