diff options
Diffstat (limited to 'lib/Target/R600/AMDGPUSubtarget.h')
-rw-r--r-- | lib/Target/R600/AMDGPUSubtarget.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDGPUSubtarget.h b/lib/Target/R600/AMDGPUSubtarget.h index c5345cc764..6ffd80c2a5 100644 --- a/lib/Target/R600/AMDGPUSubtarget.h +++ b/lib/Target/R600/AMDGPUSubtarget.h @@ -67,9 +67,14 @@ public: bool IsIRStructurizerEnabled() const; virtual bool enableMachineScheduler() const { - return getGeneration() <= NORTHERN_ISLANDS; + return true; } + virtual void overrideSchedPolicy(MachineSchedPolicy &Policy, + MachineInstr *begin, + MachineInstr *end, + unsigned NumRegionInstrs) const; + // Helper functions to simplify if statements bool isTargetELF() const; std::string getDataLayout() const; |