mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Use full anti-dep. breaking with post-ra sched. on the embedded ppc cores.
Post-RA scheduling gives a significant performance improvement on the embedded cores, so turn it on. Using full anti-dep. breaking is important for FP-intensive blocks, so turn it on (just on the embedded cores for now; this should also be good on the 970s because post-ra scheduling is all that we have for now, but that should have more testing first). llvm-svn: 153843
This commit is contained in:
parent
fd26145bc6
commit
f74994d731
@ -147,9 +147,10 @@ bool PPCSubtarget::enablePostRAScheduler(
|
||||
TargetSubtargetInfo::AntiDepBreakMode& Mode,
|
||||
RegClassVector& CriticalPathRCs) const {
|
||||
if (DarwinDirective == PPC::DIR_440 || DarwinDirective == PPC::DIR_A2)
|
||||
return false;
|
||||
Mode = TargetSubtargetInfo::ANTIDEP_ALL;
|
||||
else
|
||||
Mode = TargetSubtargetInfo::ANTIDEP_CRITICAL;
|
||||
|
||||
Mode = TargetSubtargetInfo::ANTIDEP_CRITICAL;
|
||||
CriticalPathRCs.clear();
|
||||
|
||||
if (isPPC64())
|
||||
|
Loading…
Reference in New Issue
Block a user