Changeset 4069 in CLRX


Ignore:
Timestamp:
May 3, 2018, 5:21:47 PM (6 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Remove obsolete useJoinSecPointCache.

File:
1 edited

Legend:

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

    r4068 r4069  
    822822        const CodeBlock& cblock = codeBlocks[flit->blockIndex];
    823823        lv.insert(cblock.start, cblock.end);
    824     }
    825 }
    826 
    827 static void useJoinSecPointCache(const SVRegMap* stackVarMap,
    828         const SVRegBlockMap& alreadyReadMap,
    829         const SVRegMap* resSecondPoints, size_t nextBlock,
    830         const std::deque<FlowStackEntry3>& prevFlowStack,
    831         const std::vector<CodeBlock>& codeBlocks, const VarIndexMap* vregIndexMaps,
    832         std::vector<Liveness>* livenesses, size_t regTypesNum, const cxuint* regRanges)
    833 {
    834     ARDOut << "use joinSecPointCache for " << nextBlock <<
    835             ", alreadyRMapSize: " << alreadyReadMap.size() << "\n";
    836     for (const auto& rsentry: *resSecondPoints)
    837     {
    838         const bool alreadyRead = alreadyReadMap.find(rsentry.first) != alreadyReadMap.end();
    839         if (stackVarMap != nullptr && !alreadyRead)
    840             joinSVregWithVisited(stackVarMap, rsentry.first, rsentry.second,
    841                 prevFlowStack, codeBlocks, vregIndexMaps, livenesses, regTypesNum,
    842                 regRanges);
    843824    }
    844825}
Note: See TracChangeset for help on using the changeset viewer.