Changeset 4082 in CLRX


Ignore:
Timestamp:
May 4, 2018, 6:10:30 PM (6 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Ignore registers while resolving SSA conflicts and caching resSecPoints.

File:
1 edited

Legend:

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

    r4080 r4082  
    5858            RBWSSAIdMap* cacheSecPoints)
    5959{
     60    if (sentry.first.regVar==nullptr)
     61        return; // ignore registers (only regvars)
     62   
    6063    const SSAInfo& sinfo = sentry.second;
    6164    auto res = alreadyReadMap.insert({ sentry.first, entry.blockIndex });
     
    327330        for (const auto& sentry: cblock.ssaInfoMap)
    328331        {
     332            if (sentry.first.regVar==nullptr)
     333                // ignore regular registers (only regvars)
     334                continue;
    329335            const SSAInfo& sinfo = sentry.second;
    330336            if (sinfo.ssaIdChange != 0)
Note: See TracChangeset for help on using the changeset viewer.