mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
misched: Better handling of invalid latencies in the machine model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -54,10 +54,12 @@ struct MCWriteProcResEntry {
|
||||
};
|
||||
|
||||
/// Specify the latency in cpu cycles for a particular scheduling class and def
|
||||
/// index. Also identify the WriteResources of this def. When the operand
|
||||
/// expands to a sequence of writes, this ID is the last write in the sequence.
|
||||
/// index. -1 indicates an invalid latency. Heuristics would typically consider
|
||||
/// an instruction with invalid latency to have infinite latency. Also identify
|
||||
/// the WriteResources of this def. When the operand expands to a sequence of
|
||||
/// writes, this ID is the last write in the sequence.
|
||||
struct MCWriteLatencyEntry {
|
||||
unsigned Cycles;
|
||||
int Cycles;
|
||||
unsigned WriteResourceID;
|
||||
|
||||
bool operator==(const MCWriteLatencyEntry &Other) const {
|
||||
|
||||
Reference in New Issue
Block a user