Changeset 3861 in CLRX


Ignore:
Timestamp:
Feb 28, 2018, 3:15:43 PM (17 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Fixed stupid bug in using resSecondPoint cache entries.

File:
1 edited

Legend:

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

    r3860 r3861  
    798798                std::cout << "  resolv: " << entry.blockIndex << std::endl;
    799799               
    800                 const RBWSSAIdMap* resSecondPoints = resSecondPointsCache.use(nextBlock);
     800                const RBWSSAIdMap* resSecondPoints =
     801                            resSecondPointsCache.use(entry.blockIndex);
    801802                if (resSecondPoints == nullptr)
    802803                    for (auto& sentry: cblock.ssaInfoMap)
     
    983984                std::cout << "  resolv: " << entry.blockIndex << std::endl;
    984985               
    985                 const RBWSSAIdMap* resSecondPoints = resSecondPointsCache.use(nextBlock);
     986                const RBWSSAIdMap* resSecondPoints =
     987                        resSecondPointsCache.use(entry.blockIndex);
    986988                if (resSecondPoints == nullptr)
    987989                    for (auto& sentry: cblock.ssaInfoMap)
Note: See TracChangeset for help on using the changeset viewer.