summaryrefslogtreecommitdiff
path: root/lib/Target/R600/AMDGPUSubtarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/R600/AMDGPUSubtarget.h')
-rw-r--r--lib/Target/R600/AMDGPUSubtarget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDGPUSubtarget.h b/lib/Target/R600/AMDGPUSubtarget.h
index 7cf102cff6..3bf34c8b24 100644
--- a/lib/Target/R600/AMDGPUSubtarget.h
+++ b/lib/Target/R600/AMDGPUSubtarget.h
@@ -93,9 +93,12 @@ public:
bool hasCFAluBug() const;
virtual bool enableMachineScheduler() const {
- return getGeneration() <= NORTHERN_ISLANDS;
+ return true;
}
+ void overrideSchedPolicy(MachineSchedPolicy &Policy, MachineInstr *begin,
+ MachineInstr *end, unsigned NumRegionInstrs) const;
+
// Helper functions to simplify if statements
bool isTargetELF() const;
std::string getDeviceName() const;