Skip to content
  • Jakob Stoklund Olesen's avatar
    Better handling of dead super registers in LiveVariables. We used to do this: · 2664d295
    Jakob Stoklund Olesen authored
       CALL ... %RAX<imp-def>
       ... [not using %RAX]
       %EAX = ..., %RAX<imp-use, kill>
       RET %EAX<imp-use,kill>
    
    Now we do this:
    
       CALL ... %RAX<imp-def, dead>
       ... [not using %RAX]
       %EAX = ...
       RET %EAX<imp-use,kill>
    
    By not artificially keeping %RAX alive, we lower register pressure a bit.
    
    The correct number of instructions for 2008-08-05-SpillerBug.ll is obviously
    55, anybody can see that. Sheesh.
    
    llvm-svn: 97838
    2664d295
Loading