summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZSubtarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSubtarget.h b/llvm/lib/Target/SystemZ/SystemZSubtarget.h
index 4829f73e080..52dc4cda02f 100644
--- a/llvm/lib/Target/SystemZ/SystemZSubtarget.h
+++ b/llvm/lib/Target/SystemZ/SystemZSubtarget.h
@@ -91,6 +91,11 @@ public:
return &TSInfo;
}
+ // True if the subtarget should run MachineScheduler after aggressive
+ // coalescing. This currently replaces the SelectionDAG scheduler with the
+ // "source" order scheduler.
+ bool enableMachineScheduler() const override { return true; }
+
// This is important for reducing register pressure in vector code.
bool useAA() const override { return true; }
OpenPOWER on IntegriCloud