mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Convert -enable-sched-cycles and -enable-sched-hazard to -disable
flags. They are still not enable in this revision. Added TargetInstrInfo::isZeroCost() to fix a fundamental problem with the scheduler's model of operand latency in the selection DAG. Generalized unit tests to work with sched-cycles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -42,6 +42,8 @@ public:
|
||||
|
||||
unsigned getMaxLookAhead() const { return MaxLookAhead; }
|
||||
|
||||
bool isEnabled() const { return MaxLookAhead != 0; }
|
||||
|
||||
/// atIssueLimit - Return true if no more instructions may be issued in this
|
||||
/// cycle.
|
||||
virtual bool atIssueLimit() const { return false; }
|
||||
|
Reference in New Issue
Block a user