Skip to content
  • Rafael Espindola's avatar
    Convert the last use of getPhysicalRegisterRegClass and remove it. · 871c7247
    Rafael Espindola authored
    AggressiveAntiDepBreaker should not be using getPhysicalRegisterRegClass. An
    instruction might be using a register that can only be replaced with one from
    a subclass of getPhysicalRegisterRegClass.
    
    With this patch we use getMinimalPhysRegClass. This is correct, but
    conservative. We should check the uses of the register and select the
    largest register class that can be used in all of them.
    
    llvm-svn: 108122
    871c7247
Loading