Changeset 4175 in CLRX


Ignore:
Timestamp:
May 16, 2018, 3:22:42 PM (9 days ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Fixed checking whether is write with ability to replace register while adding usage deps.

File:
1 edited

Legend:

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

    r4174 r4175  
    848848                size_t outVIdx;
    849849               
    850                 if (rvu.rwFlags == ASMRVU_READ &&
     850                // if read or read-write (but not same write)
     851                if ((rvu.rwFlags!=ASMRVU_WRITE || rvu.regField==ASMFIELD_NONE) &&
    851852                    std::find(writtenSVRegs.begin(), writtenSVRegs.end(),
    852853                              svreg) != writtenSVRegs.end())
     
    883884                size_t outVIdx;
    884885               
    885                 if (rvu.rwFlags == ASMRVU_READ &&
     886                // if read or read-write (but not same write)
     887                if ((rvu.rwFlags!=ASMRVU_WRITE || rvu.regField==ASMFIELD_NONE) &&
    886888                    std::find(writtenSVRegs.begin(), writtenSVRegs.end(),
    887889                              svreg) != writtenSVRegs.end())
Note: See TracChangeset for help on using the changeset viewer.