Index: llvm/trunk/include/llvm/Target/TargetSchedule.td =================================================================== --- llvm/trunk/include/llvm/Target/TargetSchedule.td +++ llvm/trunk/include/llvm/Target/TargetSchedule.td @@ -182,8 +182,7 @@ // // SchedModel ties these units to a processor for any stand-alone defs // of this class. -class ProcResourceUnits pfmCounters> { +class ProcResourceUnits { ProcResourceKind Kind = kind; int NumUnits = num; ProcResourceKind Super = ?; @@ -198,8 +197,8 @@ // Subtargets typically define processor resource kind and number of // units in one place. -class ProcResource pfmCounters = []> : ProcResourceKind, - ProcResourceUnits; +class ProcResource : ProcResourceKind, + ProcResourceUnits; class ProcResGroup resources> : ProcResourceKind { list Resources = resources;