mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Revert "Make NumMicroOps a variable in the subtarget's instruction itinerary."
This reverts commit r159406. I noticed a performance regression so I'll back out for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159411 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -560,8 +560,8 @@ TargetInstrInfoImpl::getNumMicroOps(const InstrItineraryData *ItinData,
|
||||
return 1;
|
||||
|
||||
unsigned Class = MI->getDesc().getSchedClass();
|
||||
int UOps = ItinData->Itineraries[Class].NumMicroOps;
|
||||
if (UOps >= 0)
|
||||
unsigned UOps = ItinData->Itineraries[Class].NumMicroOps;
|
||||
if (UOps)
|
||||
return UOps;
|
||||
|
||||
// The # of u-ops is dynamically determined. The specific target should
|
||||
|
||||
Reference in New Issue
Block a user