Changeset 4092 in CLRX


Ignore:
Timestamp:
May 6, 2018, 6:54:52 PM (2 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Remove obsolete liveness argument from createRoutineDataLv. use createRoutineDataLv in createLivenesses.

File:
1 edited

Legend:

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

    r4091 r4092  
    12381238        const RoutineLvMap& routineMap, RoutineDataLv& rdata,
    12391239        size_t routineBlock, const VarIndexMap* vregIndexMaps,
    1240         std::vector<Liveness>* livenesses, size_t regTypesNum, const cxuint* regRanges)
     1240        size_t regTypesNum, const cxuint* regRanges)
    12411241{
    12421242    std::deque<FlowStackEntry4> flowStack;
     
    15851585        {
    15861586            ARDOut << " ret: " << entry.blockIndex << "\n";
     1587            auto res = routineMap.insert({ entry.blockIndex, { } });
     1588            if (res.second)
     1589                createRoutineDataLv(codeBlocks, routineMap, res.first->second,
     1590                        entry.blockIndex, vregIndexMaps, regTypesNum, regRanges);
    15871591            callStack.pop_back(); // just return from call
    15881592        }
     
    16221626                    }
    16231627                }
    1624            
    16251628           
    16261629            if (!flowStack.empty() && lastCommonCacheWayPoint.first != SIZE_MAX &&
Note: See TracChangeset for help on using the changeset viewer.