summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}