Changeset 3868 in CLRX


Ignore:
Timestamp:
Mar 3, 2018, 3:27:45 PM (16 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Small fix (do not remove src rbw ssaId from curSSAId if found in src lastSSAIdMap.

File:
1 edited

Legend:

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

    r3867 r3868  
    12501250        }
    12511251        auto rbwit = src.rbwSSAIdMap.find(entry.first);
    1252         if (rbwit != src.rbwSSAIdMap.end())
     1252        if (rbwit != src.rbwSSAIdMap.end() &&
     1253            // remove only if not in src lastSSAIdMap
     1254            std::find(entry.second.begin(), entry.second.end(), rbwit->second) == entry.second.end())
    12531255            destEntry.eraseValue(rbwit->second);
    12541256        std::cout << "    :";
Note: See TracChangeset for help on using the changeset viewer.