TableGen: Check scheduling models for completeness
Audit RequiredrL262384

Description

TableGen: Check scheduling models for completeness

TableGen checks at compiletime that for scheduling models with
"CompleteModel = 1" one of the following holds:

  • Is marked with the hasNoSchedulingInfo flag
  • The instruction is a subclass of Sched
  • There are InstRW definitions in the scheduling model

Typical steps necessary to complete a model:

  • Ensure all pseudo instructions that are expanded before machine scheduling (usually everything handled with EmitYYY() functions in XXXTargetLowering).
  • If a CPU does not support some instructions mark the corresponding resource unsupported: "WriteRes<WriteXXX, []> { let Unsupported = 1; }".
  • Add missing scheduling information.

Differential Revision: http://reviews.llvm.org/D17747

Details

Auditors
dsanders
H39 Triggered Audit
Committed
matzeMar 1 2016, 12:03 PM
Differential Revision
D17747: TableGen: Check scheduling models for completeness
Parents
rL262383: TableGen: Add hasNoSchedulingInfo to instructions
Branches
Unknown
Tags
Unknown