summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-11-24 20:55:26 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-11-24 20:55:26 +0000
commitdd3d2c72b4096a3eb58fd89865e846ca9ac2bd9c (patch)
treec91d7c642ecf4d3e71b116efcbdc63e657b21ac1
parentb7ed764666dc097dc924654eafc65dff914456f3 (diff)
XXX: Sched improvements
-rw-r--r--lib/Target/R600/AMDGPUSubtarget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDGPUSubtarget.cpp b/lib/Target/R600/AMDGPUSubtarget.cpp
index e4674baecd7..5a3785fd1a6 100644
--- a/lib/Target/R600/AMDGPUSubtarget.cpp
+++ b/lib/Target/R600/AMDGPUSubtarget.cpp
@@ -112,6 +112,8 @@ void AMDGPUSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
MachineInstr *end,
unsigned NumRegionInstrs) const {
if (getGeneration() >= SOUTHERN_ISLANDS) {
- Policy.OnlyTopDown = true;
+ Policy.ShouldTrackPressure = true;;
+ Policy.OnlyTopDown = false;
+ Policy.OnlyBottomUp = false;
}
}