Changeset 3651 in CLRX


Ignore:
Timestamp:
Jan 22, 2018, 3:07:07 PM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Small fix in resolveSSAConflicts (handling ssaids in calls).

File:
1 edited

Legend:

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

    r3648 r3651  
    522522                    break; // if call to this next routine (stop)
    523523                const LastSSAIdMap& regVarMap =
    524                         routineMap.find(next.block)->second.curSSAIdMap;
     524                        routineMap.find(next.block)->second.lastSSAIdMap;
    525525                for (const auto& sentry: regVarMap)
    526526                    stackVarMap[sentry.first] = sentry.second;
     
    958958                    if (ssaEntry.first.regVar==nullptr)
    959959                    {
     960                        // TODO - pass registers through SSA marking and resolving
    960961                        sinfo.ssaIdChange = 0; // zeroing SSA changes
    961962                        continue; // no change for registers
     
    10601061            else
    10611062            {
     1063                // BUG - it does not resolve conflicts beyond this in rest ways
    10621064                resolveSSAConflicts(flowStack, callStack, visited, routineMap, codeBlocks,
    10631065                                    ssaReplacesMap);
Note: See TracChangeset for help on using the changeset viewer.