Skip to content
  • Jakob Stoklund Olesen's avatar
    Rename SlotIndexes to match how they are used. · 90b5e565
    Jakob Stoklund Olesen authored
    The old naming scheme (load/use/def/store) can be traced back to an old
    linear scan article, but the names don't match how slots are actually
    used.
    
    The load and store slots are not needed after the deferred spill code
    insertion framework was deleted.
    
    The use and def slots don't make any sense because we are using
    half-open intervals as is customary in C code, but the names suggest
    closed intervals.  In reality, these slots were used to distinguish
    early-clobber defs from normal defs.
    
    The new naming scheme also has 4 slots, but the names match how the
    slots are really used.  This is a purely mechanical renaming, but some
    of the code makes a lot more sense now.
    
    llvm-svn: 144503
    90b5e565
Loading