Changeset 4100 in CLRX


Ignore:
Timestamp:
May 7, 2018, 12:59:58 PM (2 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Simplify joinSVregWithVisited.

File:
1 edited

Legend:

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

    r4099 r4100  
    936936            std::vector<Liveness>* livenesses, size_t regTypesNum, const cxuint* regRanges)
    937937{
    938     auto pfEnd = prevFlowStack.end();
    939     --pfEnd;
    940    
    941     Liveness& lv = getLiveness2(svreg, ssaIdNextBefore,
    942             livenesses, vregIndexMaps, regTypesNum, regRanges);
    943    
    944     const CodeBlock& cbLast = codeBlocks[(pfEnd-1)->blockIndex];
    945     if (lv.contain(cbLast.end-1))
    946         // if already filled up
    947         return;
    948    
    949938    // join liveness for this variable ssaId>.
    950939    // only if in previous block previous SSAID is
Note: See TracChangeset for help on using the changeset viewer.