From 67d53e4724a669216568f2566e0163d2a1346a1f Mon Sep 17 00:00:00 2001 From: Wolfgang Puffitsch <hausen@gmx.at> Date: Sat, 9 Jul 2016 20:11:34 +0200 Subject: [PATCH] Remove unused function. --- lib/Target/Patmos/PatmosTargetMachine.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/Target/Patmos/PatmosTargetMachine.cpp b/lib/Target/Patmos/PatmosTargetMachine.cpp index b07e1060a48..cc6864e1452 100644 --- a/lib/Target/Patmos/PatmosTargetMachine.cpp +++ b/lib/Target/Patmos/PatmosTargetMachine.cpp @@ -105,19 +105,6 @@ namespace { return getTM<PatmosTargetMachine>(); } - bool enablePostRAScheduler(CodeGenOpt::Level OptLevel, - TargetSubtargetInfo::AntiDepBreakMode& Mode, - TargetSubtargetInfo::RegClassVector& CriticalPathRCs) const { - // TODO disabled until call delay slots are properly handled by anti-dep - // breaker. Moving a use of a caller-defined register (r1,..) into the delay - // slot of a call causes the anti-dep breaker not to detect the use if the def - // is in a preceding scheduling region. - // Mode = (OptLevel == CodeGenOpt::None) ? ANTIDEP_NONE : ANTIDEP_ALL; - Mode = TargetSubtargetInfo::ANTIDEP_NONE; - - return hasPostRAScheduler(OptLevel); - } - bool hasPostRAScheduler(CodeGenOpt::Level OptLevel) const { // TargetPassConfig does not add the PostRA pass for -O0! -- GitLab