Changeset 3933 in CLRX


Ignore:
Timestamp:
Mar 24, 2018, 11:24:44 AM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Reinsert the subroutine (with recalculating a weight) into a cache instead of changing a subroutine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/AsmRegAlloc.cpp

    r3932 r3933  
    16451645                    if (subrData2 == nullptr)
    16461646                        continue;
     1647                    RoutineData subrData2Copy = *subrData2;
    16471648                    std::cout << "*";
    1648                     joinLastSSAIdMap(subrData2->lastSSAIdMap,
     1649                    joinLastSSAIdMap(subrData2Copy.lastSSAIdMap,
    16491650                            loopsit2->second.ssaIdMap, subrDataCopy, false);
     1651                    // reinsert subroutine into subroutine cache
     1652                    subrData2Copy.calculateWeight();
     1653                    subroutinesCache.put(subr, subrData2Copy);
    16501654                }
    16511655                std::cout << "\n";
Note: See TracChangeset for help on using the changeset viewer.