Changeset 4111 in CLRX


Ignore:
Timestamp:
May 8, 2018, 11:43:41 AM (5 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Small optimizations in joinVRegRecur.

File:
1 edited

Legend:

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

    r4110 r4111  
    894894        else
    895895        {
    896             size_t blockStart = entry.blockIndex;
    897             if (!entry.inSubroutines)
    898                 fillUpInsideRoutine(visited, codeBlocks, routineMap, callLiveTimesMap,
    899                             blockStart, svreg, lv);
    900             else
    901                 // fill up next block in path (do not fill start block)
    902                 fillUpInsideRoutine(visited, codeBlocks, routineMap, callLiveTimesMap,
    903                         blockStart+1, svreg, lv);
     896            // fill up next block in path (do not fill start block)
     897            /* if inSubroutines, then first block
     898             * (that with subroutines calls) will be skipped */
     899            fillUpInsideRoutine(visited, codeBlocks, routineMap, callLiveTimesMap,
     900                    entry.blockIndex + (entry.inSubroutines), svreg, lv);
    904901            rjStack.pop();
    905902        }
Note: See TracChangeset for help on using the changeset viewer.